next up previous contents index
Next: POpen Up: Functions and procedures Previous: OpenDir

PClose

   

Declaration:

Function PClose (Var F : FileType) : longint;

Description:

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

Errors:

LinuxError is used to report errors. If it is different from zero, the exit status is not valid.

See also:

POpen

For an example, see POpen



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998