ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.h
(Generate patch)

Comparing libev/ev.h (file contents):
Revision 1.21 by root, Fri Nov 2 20:05:05 2007 UTC vs.
Revision 1.22 by root, Fri Nov 2 20:59:15 2007 UTC

174 174
175 int pid; /* ro */ 175 int pid; /* ro */
176 int status; /* rw, holds the exit status, use the macros from sys/wait.h */ 176 int status; /* rw, holds the exit status, use the macros from sys/wait.h */
177}; 177};
178 178
179#define EVMETHOD_AUTO 0 /* consults environment */ 179#define EVMETHOD_AUTO 0 /* consults environment */
180#define EVMETHOD_SELECT 1 180#define EVMETHOD_SELECT 1
181#define EVMETHOD_POLL 2 181#define EVMETHOD_POLL 2
182#define EVMETHOD_EPOLL 4 182#define EVMETHOD_EPOLL 4
183#define EVMETHOD_KQUEUE 8
184#define EVMETHOD_DEVPOLL 16
183#define EVMETHOD_ANY ~0 /* any method, do not consult env */ 185#define EVMETHOD_ANY ~0 /* any method, do not consult env */
184#if EV_PROTOTYPES 186#if EV_PROTOTYPES
185extern int ev_method; 187extern int ev_method;
186int ev_init (int methods); /* returns ev_method */ 188int ev_init (int methods); /* returns ev_method */
187int ev_version_major (void); 189int ev_version_major (void);
188int ev_version_minor (void); 190int ev_version_minor (void);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines