Query: seekdir
OS: sunos
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
seekdir(3C) Standard C Library Functions seekdir(3C)NAMEseekdir - set position of directory streamSYNOPSIS#include <sys/types.h> #include <dirent.h> void seekdir(DIR *dirp, long int loc);DESCRIPTIONThe seekdir() function sets the position of the next readdir(3C) operation on the directory stream specified by dirp to the position speci- fied by loc. The value of loc should have been returned from an earlier call to telldir(3C). The new position reverts to the one associated with the directory stream when telldir() was performed. If the value of loc was not obtained from an earlier call to telldir() or if a call to rewinddir(3C) occurred between the call to telldir () and the call to seekdir(), the results of subsequent calls to readdir() are unspecified.RETURN VALUESThe seekdir() function returns no value.ERRORSNo errors are defined.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+SEE ALSOopendir(3C), readdir(3C), rewinddir(3C), telldir(3C), attributes(5), standards(5) SunOS 5.10 14 Aug 2002 seekdir(3C)
Related Man Pages |
---|
opendir(3) - bsd |
readdir(3) - bsd |
telldir(3) - bsd |
seekdir(3p) - suse |
seekdir(3) - x11r4 |
Similar Topics in the Unix Linux Community |
---|
seekdir()? what does it do? |