1SEEKDIR(3)                 Linux Programmer's Manual                SEEKDIR(3)
2
3
4

NAME

6       seekdir  - set the position of the next readdir() call in the directory
7       stream.
8

SYNOPSIS

10       #include <dirent.h>
11
12       void seekdir(DIR *dir, off_t offset);
13

DESCRIPTION

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

RETURN VALUE

20       The seekdir() function returns no value.
21

CONFORMING TO

23       4.3BSD, POSIX.1-2001.
24

SEE ALSO

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)
Impressum