1 USING: alien.syntax classes.struct ;
12 FUNCTION: int kevent ( int kq, kevent* changelist, int nchanges, kevent* eventlist, int nevents, timespec* timeout ) ;
14 CONSTANT: EVFILT_READ -1
15 CONSTANT: EVFILT_WRITE -2
16 CONSTANT: EVFILT_AIO -3 ! attached to aio requests
17 CONSTANT: EVFILT_VNODE -4 ! attached to vnodes
18 CONSTANT: EVFILT_PROC -5 ! attached to struct proc
19 CONSTANT: EVFILT_SIGNAL -6 ! attached to struct proc
20 CONSTANT: EVFILT_TIMER -7 ! timers