29 #if ! defined (octave_oct_procbuf_h)
30 #define octave_oct_procbuf_h 1
32 #include "octave-config.h"
34 #include <sys/types.h>
47 m_proc_pid (-1), m_next (nullptr)
52 m_proc_pid (-1), m_next (nullptr)
53 { open (command, mode); }
55 OCTAVE_DISABLE_COPY_MOVE (
procbuf)
59 procbuf * open (
const char *command,
int mode);
65 bool is_open ()
const {
return m_open_p; }
67 pid_t
pid ()
const {
return m_proc_pid; }
80 OCTAVE_END_NAMESPACE(
octave)
procbuf(const char *command, int mode)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn