delorie.com/djgpp/doc/libc/libc_687.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <dirent.h> void seekdir(DIR *dir, long loc); |
This function sets the location pointer in dir to the specified
loc. Note that the value used for loc should be either zero
or a value returned by telldir
(see section telldir). The next call
to readdir
(see section readdir) will read whatever entry follows that
point in the directory.
None.
ANSI/ISO C | No |
POSIX | No |
int q = telldir(dir); do_stuff(); seekdir(dir, q); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |