Returns the current location associated with a specified directory stream. Performs operations on directories.
#include <dirent.h> long int telldir (DIR *dir_pointer);
x | The current location. |
-1 | Indicates an error and is further specified in the global errno. |