… | |
… | |
170 | /* revent EV_CHILD */ |
170 | /* revent EV_CHILD */ |
171 | struct ev_child |
171 | struct ev_child |
172 | { |
172 | { |
173 | EV_WATCHER_LIST (ev_child); |
173 | EV_WATCHER_LIST (ev_child); |
174 | |
174 | |
175 | int pid; /* ro */ |
175 | int pid; /* ro */ |
|
|
176 | int rpid; /* rw, holds the received pid */ |
176 | int status; /* rw, holds the exit status, use the macros from sys/wait.h */ |
177 | int rstatus; /* rw, holds the exit status, use the macros from sys/wait.h */ |
177 | }; |
178 | }; |
178 | |
179 | |
179 | #define EVMETHOD_AUTO 0 /* consults environment */ |
180 | #define EVMETHOD_AUTO 0 /* consults environment */ |
180 | #define EVMETHOD_SELECT 1 |
181 | #define EVMETHOD_SELECT 1 |
181 | #define EVMETHOD_POLL 2 |
182 | #define EVMETHOD_POLL 2 |