1SEEKDIR(3) Linux Programmer's Manual SEEKDIR(3)
2
3
4
6 seekdir - set the position of the next readdir() call in the directory
7 stream.
8
10 #include <dirent.h>
11
12 void seekdir(DIR *dir, off_t offset);
13
15 The seekdir() function sets the location in the directory stream from
16 which the next readdir() call will start. seekdir() should be used
17 with an offset returned by telldir().
18
20 The seekdir() function returns no value.
21
23 4.3BSD, POSIX.1-2001.
24
26 lseek(2), closedir(3), opendir(3), readdir(3), rewinddir(3), scan‐
27 dir(3), telldir(3)
28
29
30
31 1993-03-31 SEEKDIR(3)