[Overview][Constants][Types][Procedures and functions] Reference for unit 'BaseUnix' (#rtl)

FpReaddir

Read entry from directory

Declaration

Source position: bunxh.inc line 68

function FpReaddir(

  var dirp: Dir

):pDirent;

Description

FpReadDirreads the next entry in the directory pointed to by dirp. It returns a pdirentpointer to a direntrecord describing the entry. If the next entry can't be read, Nilis returned.

For an example, see FpOpenDir.

Errors

Extended error information can be retrieved using fpGetErrno.

See also

FpCloseDir

  

Close directory file descriptor

FpOpenDir

  

Open a directory for reading