[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'oldlinux' (#rtl)

CloseDir

Close directory file descriptor

Declaration

Source position: oldlinux.pp line 1435

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.

For an example, see OpenDir.

Errors

Errors are returned in LinuxError.

See also

OpenDir

  

Open directory for reading

ReadDir

  

Read entry from directory

SeekDir

  

Seek to position in directory

TellDir

  

Return current location in a directory

The latest version of this document can be found at lazarus-ccr.sourceforge.net.