help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions][Variables] 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

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505