File:  [MW Coherent from dump] / coherent / a / usr / man / COHERENT / popen
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



popen()                   STDIO Function                  popen()




Open a pipe

#include <stdio.h>
FFIILLEE *ppooppeenn(_c_o_m_m_a_n_d, _h_o_w)
cchhaarr *_c_o_m_m_a_n_d, *_h_o_w;

popen opens a pipe.  It resembles the function fopen, except that
the opened object is a command line to the shell sh rather than a
file.

The caller can read the standard output of command when how is rr,
or write to  the standard input of command when  how is ww.  popen
returns a pointer  to a FFIILLEE structure that may  be read or writ-
ten.

***** Files *****

<stdio.h>

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

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

***** Diagnostics *****

popen  returns NULL  if  the link  to  command could  not be  es-
tablished.





























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.