Annotation of coherent/a/usr/man/COHERENT/popen, revision 1.1.1.1

1.1       root        1: 
                      2: 
                      3: popen()                   STDIO Function                  popen()
                      4: 
                      5: 
                      6: 
                      7: 
                      8: Open a pipe
                      9: 
                     10: #include <stdio.h>
                     11: FFIILLEE *ppooppeenn(_c_o_m_m_a_n_d, _h_o_w)
                     12: cchhaarr *_c_o_m_m_a_n_d, *_h_o_w;
                     13: 
                     14: popen opens a pipe.  It resembles the function fopen, except that
                     15: the opened object is a command line to the shell sh rather than a
                     16: file.
                     17: 
                     18: The caller can read the standard output of command when how is rr,
                     19: or write to  the standard input of command when  how is ww.  popen
                     20: returns a pointer  to a FFIILLEE structure that may  be read or writ-
                     21: ten.
                     22: 
                     23: ***** Files *****
                     24: 
                     25: <stdio.h>
                     26: 
                     27: ***** See Also *****
                     28: 
                     29: fclose(), fopen(), pclose(), pipe(), sh, STDIO, system(), wait()
                     30: 
                     31: ***** Diagnostics *****
                     32: 
                     33: popen  returns NULL  if  the link  to  command could  not be  es-
                     34: tablished.
                     35: 
                     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: 

unix.superglobalmegacorp.com

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