|
|
1.1 ! root 1: ! 2: ! 3: pclose() STDIO Function pclose() ! 4: ! 5: ! 6: ! 7: ! 8: Close a pipe ! 9: ! 10: #include <stdio.h> ! 11: iinntt ppcclloossee(_f_p) ! 12: FFIILLEE *_f_p; ! 13: ! 14: pclose closes the pipe pointed to by fp, which must have been ! 15: opened by the function popen. ! 16: ! 17: pclose awaits the completion of the child process and performs ! 18: other cleanup. It returns the value from a WAIT done on the ! 19: child process. This value includes information in addition to ! 20: the ``simple'' exit value of the child process. ! 21: ! 22: ***** Files ***** ! 23: ! 24: <stdio.h> ! 25: ! 26: ***** See Also ***** ! 27: ! 28: fclose(), fopen(), pipe(), popen(), sh, STDIO, system(), wait() ! 29: ! 30: ***** Diagnostics ***** ! 31: ! 32: pclose returns -1 if fp had not been created by a call to popen. ! 33: Otherwise, pclose returns the exit status of the command, in the ! 34: format described in the entry for wait: exit status in the high ! 35: byte, signal information in the low byte. ! 36: ! 37: ! 38: ! 39: ! 40: ! 41: ! 42: ! 43: ! 44: ! 45: ! 46: ! 47: ! 48: ! 49: ! 50: ! 51: ! 52: ! 53: ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.