telldir - current location of a named directory stream
The telldir() function shall obtain the current location associated with the directory stream specified by dirp.
If the most recent operation on the directory stream was a seekdir(), the directory position returned from the telldir() shall be the same as that supplied as a loc argument for seekdir().
Upon successful completion, telldir() shall return the current location of the specified directory stream.
No errors are defined.
opendir(), readdir(), seekdir(), the Base Definitions volume of IEEE Std 1003.1-2001, <dirent.h>
First released in Issue 2.