MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ff_kqueue

Function ff_kqueue

lib/ff_syscall_wrapper.c:1588–1601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1586}
1587
1588int
1589ff_kqueue(void)
1590{
1591 int rc;
1592 if ((rc = kern_kqueue(curthread, 0, NULL)))
1593 goto kern_fail;
1594
1595 rc = curthread->td_retval[0];
1596 return (rc);
1597
1598kern_fail:
1599 ff_os_errno(rc);
1600 return (-1);
1601}
1602
1603struct sys_kevent_args {
1604 int fd;

Callers 7

mainFunction · 0.85
mainFunction · 0.85
ff_epoll_createFunction · 0.85
aeApiCreateFunction · 0.85
kqueueFunction · 0.85
ff_sys_kqueueFunction · 0.85
InitKqueueMethod · 0.85

Calls 2

kern_kqueueFunction · 0.85
ff_os_errnoFunction · 0.85

Tested by

no test coverage detected