23 #if ! defined (octave_child_list_h)
24 #define octave_child_list_h 1
26 #include "octave-config.h"
30 #include <sys/types.h>
48 typedef bool (*child_event_handler) (pid_t,
int);
50 child (pid_t
id = -1, child_event_handler
f = 0)
51 : pid (
id), handler (
f), have_status (0), status (0) { }
54 : pid (oc.pid), handler (oc.handler),
55 have_status (oc.have_status), status (oc.status) { }
110 static void reap (
void);
112 static bool wait (
void);
114 static void remove (pid_t pid);
118 static bool instance_ok (
void);
126 #if defined (OCTAVE_USE_DEPRECATED_FUNCTIONS)
128 OCTAVE_DEPRECATED (
"use 'octave::child' instead")
129 typedef
octave::child octave_child;
131 OCTAVE_DEPRECATED ("use '
octave::child_list' instead")
132 typedef
octave::child_list octave_child_list;
child(pid_t id=-1, child_event_handler f=0)
Octave interface to the compression and uncompression libraries.
child_event_handler handler
F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T F77_REAL F77_REAL &F77_RET_T F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE const F77_DBLE * f
static child_list_rep * instance
bool(* child_event_handler)(pid_t, int)
static void cleanup_instance(void)