| www.delorie.com/djgpp/doc/libc-2.01/libc_557.html | search |
#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.
int q = telldir(dir); do_stuff(); seekdir(dir, q);
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |