Sign in Join
FPDoc Onlineexperiment

PClose function

In unit Unix

Close file opened with POpen.

Declaration

pascal
function PClose(var F: File): cint

Description

PClose closes a file opened with POpen. It waits for the command to complete, and then returns the exit status of the command.

For an example, see POpen

Errors

Extended error information is returned by the FpGetErrno function.

See also

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