Home
last modified time | relevance | path

Searched refs:kq (Results 1 – 5 of 5) sorted by relevance

/haiku/src/libs/bsd/
H A Dkqueue.cpp45 kevent(int kq, in kevent() argument
134 status_t status = _kern_event_queue_select(kq, &info, 1); in kevent()
153 status_t status = _kern_event_queue_select(kq, waitInfos, changedInfos); in kevent()
198 ssize_t events = _kern_event_queue_wait(kq, waitInfos, in kevent()
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_private.h18 int kq, resfd; member
H A Dres_send.c159 int kq,
330 int kq; in res_nsend() local
352 if ((kq = kqueue1(O_CLOEXEC)) == -1) { in res_nsend()
473 close(kq); in res_nsend()
510 kq, in res_nsend()
572 close(kq); in res_nsend()
580 close(kq); in res_nsend()
593 close(kq); in res_nsend()
854 int kq, in send_dg() argument
984 n = kevent(kq, &kv, 1, &kv, 1, &timeout); in send_dg()
H A Dres_init.c483 statp->_u._ext.ext->kq = -1; in __res_vinit()
763 if (ext->kq != -1) in res_ndestroy()
764 (void)close(ext->kq); in res_ndestroy()
/haiku/headers/compatibility/bsd/sys/
H A Devent.h107 int kevent(int kq, const struct kevent *changelist, int nchanges,