|
|
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
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.