X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/dad4ca18735c2ac55d15c59ea04c628538194a33..b5f3175db054d9930a6e75d2034e367b36e875b8:/ev.h diff --git a/ev.h b/ev.h index 62200da..c82f5a1 100644 --- a/ev.h +++ b/ev.h @@ -203,7 +203,7 @@ struct ev_check EV_WATCHER (ev_check) }; -/* invoked when sigchld is received and waitpid indicates the givne pid */ +/* invoked when sigchld is received and waitpid indicates the given pid */ /* revent EV_CHILD */ /* does not support priorities */ struct ev_child @@ -233,7 +233,7 @@ union ev_any_watcher /* bits for ev_default_loop and ev_loop_new */ /* the default */ -#define EVMETHOD_AUTO 0x00000000 /* not quite a mask */ +#define EVFLAG_AUTO 0x00000000 /* not quite a mask */ /* method bits to be ored together */ #define EVMETHOD_SELECT 0x00000001 /* about anywhere */ @@ -244,7 +244,7 @@ union ev_any_watcher #define EVMETHOD_PORT 0x00000020 /* solaris 10 */ /* NYI */ /* flag bits */ -#define EVMETHOD_NOENV 0x01000000 /* do NOT consult environment */ +#define EVFLAG_NOENV 0x01000000 /* do NOT consult environment */ #if EV_PROTOTYPES int ev_version_major (void); @@ -298,7 +298,7 @@ void ev_default_destroy (void); /* destroy the default loop */ /* you can actually call it at any time, anywhere :) */ void ev_default_fork (void); -int ev_method (EV_P); +unsigned int ev_method (EV_P); #endif #define EVLOOP_NONBLOCK 1 /* do not block/wait */