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



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

PClose

Close file opened with POpen

Declaration

Source position: line 0

function PClose(

  var F: file

):cint;

function PClose(

  var F: text

):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

POpen

  

Pipe file to standard input/output of program

Notes

 No notes exist for this page yet. 





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