Unit 'Unix' Package
[Overview][Constants][Types][Procedures and functions][Index] [#rtl]

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

#rtl.baseunix.fpCloseDir

  

Close directory file descriptor

#rtl.baseunix.fpReadDir

  

Read entry from directory

#rtl.baseunix.fpOpenDir

  

Open a directory for reading

SeekDir

  

Seek to position in directory


Documentation generated on: Sep 29 2022