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.



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998