next up previous contents index
Next: DirName Up: Functions and procedures Previous: Chmod

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
Thu Sep 10 13:59:33 CEST 1998