Sign in Join
FPDoc Onlineexperiment

FpClosedir function

In unit BaseUnix

Close directory file descriptor.

Declaration

pascal
function FpClosedir(var dirp: Dir): cint

Description

FpCloseDir closes the directory pointed to by dirp. It returns zero if the directory was closed successfully, -1 otherwise.

For an example, see fpOpenDir.

Errors

Extended error information can be retrieved using fpGetErrno.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.