basic.%pclose

C Function/BASIC Program, Releases: AP/Unix

Closes a stream.

Syntax

variable=%pclose( (char*)stream)

Description

closes the stream designated by 'stream' opened by a '%popen()' and returns the exit status of the command.

See Also

Command Name Type Description
basic.cfunc Definition can be called from a Pick/BASIC program or subroutine in AP/DOS and AP/Unix implementations using a syntax similar to that of normal C.
basic.%popen C Function Creates pipe between calling process and command.
basic.cfunction Definition Declare a list of C functions.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.