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