/* invoked when sigchld is received and waitpid indicates the givne pid */
/* revent EV_CHILD */
+/* does not support priorities */
struct ev_child
{
EV_WATCHER_LIST (ev_child);
- int pid; /* ro */
- int status; /* rw, holds the exit status, use the macros from sys/wait.h */
+ int pid; /* ro */
+ int rpid; /* rw, holds the received pid */
+ int rstatus; /* rw, holds the exit status, use the macros from sys/wait.h */
};
#define EVMETHOD_AUTO 0 /* consults environment */