… | |
… | |
146 | struct ev_child |
146 | struct ev_child |
147 | { |
147 | { |
148 | EV_WATCHER_LIST (ev_child); |
148 | EV_WATCHER_LIST (ev_child); |
149 | |
149 | |
150 | int pid; /* ro */ |
150 | int pid; /* ro */ |
151 | int status; /* holds the exit status, use the macros from sys/wait.h */ |
151 | int status; /* rw, holds the exit status, use the macros from sys/wait.h */ |
152 | }; |
152 | }; |
153 | |
153 | |
154 | #define EVMETHOD_NONE 0 |
154 | #define EVMETHOD_NONE 0 |
155 | #define EVMETHOD_SELECT 1 |
155 | #define EVMETHOD_SELECT 1 |
156 | #define EVMETHOD_EPOLL 2 |
156 | #define EVMETHOD_EPOLL 2 |