23 #if ! defined (octave_child_list_h) 24 #define octave_child_list_h 1 26 #include "octave-config.h" 30 #include <sys/types.h> 46 typedef bool (*child_event_handler) (pid_t, int);
48 child (pid_t
id = -1, child_event_handler
f =
nullptr)
49 : pid (
id), handler (
f), have_status (0), status (0)
56 ~
child (
void) =
default;
80 void remove (pid_t pid);
base_list< child > m_list
child_event_handler handler
bool(* child_event_handler)(pid_t, int)
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 const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
child(pid_t id=-1, child_event_handler f=nullptr)