TellDir

Return current location in a directory

Declaration

Source position: unix.pp line 131

  function TellDir(p: pDir) : TOff;

Description

TellDir returns the current location in the directory structure pointed to by p. It returns -1 on failure.

For an example, see #rtl.baseunix.fpOpenDir .

See also

Name Description
#rtl.baseunix.fpCloseDir Close directory file descriptor
#rtl.baseunix.fpOpenDir Open a directory for reading
#rtl.baseunix.fpReadDir Read entry from directory
SeekDir Seek to position in directory