www.delorie.com/djgpp/doc/libc/libc_814.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

telldir

Syntax

 
#include <dirent.h>

long telldir(DIR *dir);

Description

This function returns a value which indicates the position of the pointer in the given directory. This value is only useful as an argument to seekdir (see section seekdir).

Return Value

The directory pointer.

Portability

ANSI/ISO C No
POSIX No

Example

 
DIR *dir;
long q = telldir(dir);
do_something();
seekdir(dir, q);


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2004   by DJ Delorie     Updated Apr 2004