close a pipe
#include <stdio.h> int pclose( FILE *stream );
The pclose() function closes the pipe associated with stream, and waits for the subprocess created by popen() to terminate.
The termination status of the command language interpreter. On error, pclose() returns -1, with errno set appropriately.
See popen().
UNIX
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |