SEEKDIRSection: Linux Programmer's Manual (3 )
Return to Main Contents
NAMEseekdir - set the position of the next readdir() call in the directory stream.
#include <dirent.h> void seekdir(DIR *dir, off_t offset);
DESCRIPTIONThe seekdir() function sets the location in the directory stream from which the next readdir() call will start. seekdir() should be used with an offset returned by telldir().
RETURN VALUEThe seekdir() function returns no value.
CONFORMING TOBSD 4.3
SEE ALSOlseek(2), opendir(3), readdir(3), closedir(3), rewinddir(3), telldir(3), scandir(3)
This document was created by man2html, using the manual pages.
Time: 02:23:38 GMT, May 23, 2013