X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/8ee8df9cf84f6ae595eb82ebe7e5eb119112087e..f123911c49df152e9b27ab4df77b12a03b6abfa2:/ev.h?ds=sidebyside diff --git a/ev.h b/ev.h index a494fd7..8d2922d 100644 --- a/ev.h +++ b/ev.h @@ -172,8 +172,9 @@ 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 */ @@ -181,7 +182,8 @@ struct ev_child #define EVMETHOD_POLL 2 #define EVMETHOD_EPOLL 4 #define EVMETHOD_KQUEUE 8 -#define EVMETHOD_DEVPOLL 16 +#define EVMETHOD_DEVPOLL 16 /* NYI */ +#define EVMETHOD_PORT 32 /* NYI */ #define EVMETHOD_ANY ~0 /* any method, do not consult env */ #if EV_PROTOTYPES extern int ev_method;