![]()  | 
![]()  | 
![]()  | 
![]()  | 
Close a pipe
#include <stdio.h> int pclose( FILE* stream );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
![]()  | 
This function is in libc.a, but not in libc.so (in order to save space). | 
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, or -1 if an error occurred (errno is set).
See popen().
| Safety: | |
|---|---|
| Cancellation point | Yes | 
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
![]()  | 
![]()  | 
![]()  | 
![]()  |