#include "oct-procbuf.h"
Definition at line 35 of file oct-procbuf.h.
◆ close_fcn
typedef int(* c_file_ptr_buf::close_fcn) (FILE *) |
|
inherited |
◆ int_type
◆ octave_procbuf() [1/3]
octave_procbuf::octave_procbuf |
( |
void |
| ) |
|
|
inline |
◆ octave_procbuf() [2/3]
octave_procbuf::octave_procbuf |
( |
const char * |
command, |
|
|
int |
mode |
|
) |
| |
|
inline |
◆ octave_procbuf() [3/3]
◆ ~octave_procbuf()
octave_procbuf::~octave_procbuf |
( |
void |
| ) |
|
|
inline |
◆ buf_close()
int c_file_ptr_buf::buf_close |
( |
void |
| ) |
|
|
inherited |
◆ clear()
void c_file_ptr_buf::clear |
( |
void |
| ) |
|
|
inlineinherited |
◆ close()
◆ file_close()
int c_file_ptr_buf::file_close |
( |
FILE * |
f | ) |
|
|
staticinherited |
◆ file_number()
int c_file_ptr_buf::file_number |
( |
| ) |
const |
|
inlineinherited |
◆ flush()
int c_file_ptr_buf::flush |
( |
void |
| ) |
|
|
inherited |
◆ is_open()
bool octave_procbuf::is_open |
( |
void |
| ) |
const |
|
inline |
◆ open()
octave_procbuf * octave_procbuf::open |
( |
const char * |
command, |
|
|
int |
mode |
|
) |
| |
Definition at line 74 of file oct-procbuf.cc.
References BUFSIZ, command, c_file_ptr_buf::f, fclose, octave::sys::fork(), is_open(), mode, next, octave_close_wrapper(), octave_dup2_wrapper(), octave_popen(), open_p, octave::sys::pipe(), proc_pid, and SHELL_PATH.
Referenced by procstreambase::open(), and procstreambase::procstreambase().
◆ operator=()
◆ overflow()
◆ pbackfail()
◆ pid()
pid_t octave_procbuf::pid |
( |
void |
| ) |
const |
|
inline |
◆ seek()
int c_file_ptr_buf::seek |
( |
off_t |
offset, |
|
|
int |
origin |
|
) |
| |
|
inherited |
◆ seekoff()
std::streampos c_file_ptr_buf::seekoff |
( |
std::streamoff |
offset, |
|
|
std::ios::seekdir |
dir, |
|
|
std::ios::openmode |
= std::ios::in | std::ios::out |
|
) |
| |
|
inherited |
◆ seekpos()
std::streampos c_file_ptr_buf::seekpos |
( |
std::streampos |
offset, |
|
|
std::ios::openmode |
= std::ios::in | std::ios::out |
|
) |
| |
|
inherited |
◆ stdiofile()
FILE* c_file_ptr_buf::stdiofile |
( |
void |
| ) |
|
|
inlineinherited |
◆ sync()
int c_file_ptr_buf::sync |
( |
void |
| ) |
|
|
inherited |
◆ tell()
off_t c_file_ptr_buf::tell |
( |
void |
| ) |
|
|
inherited |
◆ uflow()
◆ underflow()
int_type c_file_ptr_buf::underflow |
( |
void |
| ) |
|
|
inlineinherited |
◆ wait_status()
int octave_procbuf::wait_status |
( |
void |
| ) |
const |
|
inline |
◆ xsgetn()
std::streamsize c_file_ptr_buf::xsgetn |
( |
char * |
s, |
|
|
std::streamsize |
n |
|
) |
| |
|
inherited |
◆ xsputn()
std::streamsize c_file_ptr_buf::xsputn |
( |
const char * |
s, |
|
|
std::streamsize |
n |
|
) |
| |
|
inherited |
◆ cf
Definition at line 92 of file c-file-ptr-stream.h.
Referenced by c_file_ptr_buf::buf_close(), close(), c_file_ptr_buf::file_close(), c_file_ptr_buf::flush(), open(), c_file_ptr_buf::overflow(), c_file_ptr_buf::pbackfail(), c_file_ptr_buf::seek(), c_file_ptr_buf::seekoff(), c_file_ptr_buf::seekpos(), c_file_ptr_buf::tell(), c_file_ptr_buf::underflow_common(), c_file_ptr_buf::xsgetn(), and c_file_ptr_buf::xsputn().
◆ next
◆ open_p
bool octave_procbuf::open_p |
|
protected |
◆ proc_pid
pid_t octave_procbuf::proc_pid |
|
protected |
◆ wstatus
int octave_procbuf::wstatus |
|
protected |
The documentation for this class was generated from the following files: