#include "procstream.h"
Public Member Functions | |
procstreambase (const char *name, int mode) | |
procstreambase (const std::string &name, int mode) | |
procstreambase (void) | |
~procstreambase (void) | |
int | close (void) |
int | file_number (void) const |
int | is_open (void) const |
void | open (const char *name, int mode) |
void | open (const std::string &name, int mode) |
pid_t | pid (void) const |
Private Member Functions | |
procstreambase (const procstreambase &) | |
procstreambase & | operator= (const procstreambase &) |
void | pb_init (void) |
Private Attributes | |
procbuf | m_pb |
Definition at line 40 of file procstream.h.
|
inline |
Definition at line 46 of file procstream.h.
procstreambase::procstreambase | ( | const std::string & | name, |
int | mode | ||
) |
Definition at line 36 of file procstream.cc.
procstreambase::procstreambase | ( | const char * | name, |
int | mode | ||
) |
Definition at line 44 of file procstream.cc.
References m_pb, procbuf::open(), and pb_init().
|
inline |
Definition at line 52 of file procstream.h.
|
private |
int procstreambase::close | ( | void | ) |
Definition at line 62 of file procstream.cc.
References procbuf::close(), is_open(), m_pb, and procbuf::wait_status().
Referenced by run_command_and_return_output().
|
inline |
Definition at line 67 of file procstream.h.
Referenced by run_command_and_return_output().
|
inline |
Definition at line 61 of file procstream.h.
Referenced by close().
void procstreambase::open | ( | const char * | name, |
int | mode | ||
) |
Definition at line 53 of file procstream.cc.
References m_pb, and procbuf::open().
|
inline |
Definition at line 54 of file procstream.h.
Referenced by procstream::open(), iprocstream::open(), and oprocstream::open().
|
private |
|
inlineprivate |
Definition at line 73 of file procstream.h.
Referenced by procstreambase().
|
inline |
Definition at line 65 of file procstream.h.
Referenced by output_system::clear_external_pager(), run_command_and_return_output(), and output_system::start_external_pager().
|
private |
Definition at line 71 of file procstream.h.
Referenced by procstreambase(), close(), and open().