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

NAME

6       telldir - return current location in directory stream
7

SYNOPSIS

9       #include <dirent.h>
10
11       off_t telldir(DIR *dir);
12

DESCRIPTION

14       The telldir() function returns the current location associated with the
15       directory stream dir.
16

RETURN VALUE

18       On success, the telldir() function returns the current location in  the
19       directory stream.  On error, -1 is returned, and errno is set appropriā€
20       ately.
21

ERRORS

23       EBADF  Invalid directory stream descriptor dir.
24

CONFORMING TO

26       4.3BSD, POSIX.1-2001.
27

SEE ALSO

29       closedir(3),   opendir(3),   readdir(3),   rewinddir(3),    scandir(3),
30       seekdir(3)
31
32
33
34                                  1993-03-31                        TELLDIR(3)
Impressum