29 #if ! defined (octave_oct_procbuf_h)
30 #define octave_oct_procbuf_h 1
32 #include "octave-config.h"
34 #include <sys/types.h>
44 :
c_file_ptr_buf (nullptr), wstatus (-1), open_p (false), proc_pid (-1),
48 :
c_file_ptr_buf (nullptr), wstatus (-1), open_p (false), proc_pid (-1),
49 next (nullptr) { open (command, mode); }
65 bool is_open (
void)
const {
return open_p; }
67 pid_t
pid (
void)
const {
return proc_pid; }
octave_procbuf(const octave_procbuf &)=delete
octave_procbuf(const char *command, int mode)
int wait_status(void) const
void symbols_of_oct_procbuf(void)