Computer Science


TELLDIR(3)          Linux Programmer's Manual          TELLDIR(3)

NAME
       telldir - return current location in directory stream.

SYNOPSIS
       #include <dirent.h>

       off_t telldir(DIR *dir);

DESCRIPTION
       The  telldir() function returns the current location asso-
       ciated with the directory stream dir.

RETURN VALUE
       The telldir() function returns the current location in the
       directory stream or -1 if an error occurs.

ERRORS
       EBADF  Invalid directory stream descriptor dir.

CONFORMING TO
       BSD 4.3

SEE ALSO
       opendir(3),    readdir(3),    closedir(3),   rewinddir(3),
       seekdir(3), scandir(3)

                          March 31, 1993                        1

Back to the index


Apply now!


Handbook

Postgraduate study options

Computer Science Blog



Please give us your feedback or ask us a question

This message is...


My feedback or question is...


My email address is...

(Only if you need a reply)

A to Z Directory | Site map | Accessibility | Copyright | Privacy | Disclaimer | Feedback on this page