26 #if ! defined (octave_procstream_h)
27 #define octave_procstream_h 1
29 #include "octave-config.h"
34 #include <sys/types.h>
56 void open (
const std::string& name,
int mode)
58 open (name.c_str (), mode);
61 void open (
const char *name,
int mode);
63 int is_open ()
const {
return m_pb.is_open (); }
67 pid_t
pid ()
const {
return m_pb.pid (); }
91 iprocstream (
const std::string& name,
int mode = std::ios::in)
103 void open (
const std::string& name,
int mode = std::ios::in)
108 void open (
const char *name,
int mode = std::ios::in)
132 void open (
const std::string& name,
int mode = std::ios::out)
137 void open (
const char *name,
int mode = std::ios::out)
163 void open (
const std::string& name,
int mode)
168 void open (
const char *name,
int mode)
174 OCTAVE_END_NAMESPACE(
octave)
void open(const std::string &name, int mode=std::ios::in)
iprocstream(const std::string &name, int mode=std::ios::in)
iprocstream(const char *name, int mode=std::ios::in)
void open(const char *name, int mode=std::ios::in)
oprocstream(const std::string &name, int mode=std::ios::out)
oprocstream(const char *name, int mode=std::ios::out)
void open(const char *name, int mode=std::ios::out)
void open(const std::string &name, int mode=std::ios::out)
procstream(const char *name, int mode)
procstream(const std::string &name, int mode)
void open(const char *name, int mode)
void open(const std::string &name, int mode)
void open(const std::string &name, int mode)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn