next up previous contents index
Next: ReadDir Up: Functions and procedures Previous: OpenDir

CloseDir

   

Declaration:

Function CloseDir (p:pdir) : integer;

Description:

CloseDir closes the directory pointed to by p. It returns zero if the directory was closed succesfully, -1 otherwise.

Errors:

Errors are returned in LinuxError.

See also:

OpenDir, ReadDir, SeekDir, TellDir, closedir (3)

For an example, see OpenDir.



Michael Van Canneyt
Tue Mar 31 16:46:10 CEST 1998