File System

File System telldir

telldir

// INCLUDE
#include <dirent.h>

// PROTOTYPE
long telldir(DIR* pdir)
  • dirp: The DIR* returned by opendir.

Returns a numeric value for the current position in the directory that can subsequently be used with seekdir to go back to that position.