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.



root
Fri Sep 11 18:24:36 CEST 1998