next up previous contents index
Next: SeekDir Up: Functions and procedures Previous: POpen

ReadDir

   

Declaration:

Function ReadDir (p:pdir) : pdirent;

Description:

ReadDir reads the next entry in the directory pointed to by p. It returns a pdirent pointer to a structure describing the entry. If the next entry can't be read, Nil is returned.

Errors:

Errors are returned in LinuxError.

See also:

CloseDir, OpenDir, SeekDir, TellDir, readdir (3)

For an example, see OpenDir.



root
Fri Sep 11 18:24:36 CEST 1998