File:  [MW Coherent from dump] / coherent / a / usr / man / COHERENT / pclose
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



pclose()                  STDIO Function                 pclose()




Close a pipe

#include <stdio.h>
iinntt ppcclloossee(_f_p)
FFIILLEE *_f_p;

pclose closes  the pipe  pointed to by  fp, which must  have been
opened by the function popen.

pclose awaits  the completion of  the child process  and performs
other  cleanup.  It  returns the  value from a  WAIT done  on the
child process.   This value  includes information in  addition to
the ``simple'' exit value of the child process.

***** Files *****

<stdio.h>

***** See Also *****

fclose(), fopen(), pipe(), popen(), sh, STDIO, system(), wait()

***** Diagnostics *****

pclose returns -1 if fp had  not been created by a call to popen.
Otherwise, pclose returns the  exit status of the command, in the
format described  in the entry for wait: exit  status in the high
byte, signal information in the low byte.




























COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.