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

Function ff_select

lib/ff_syscall_wrapper.c:1552–1569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1550}
1551
1552int
1553ff_select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
1554 struct timeval *timeout)
1555
1556{
1557 int rc;
1558
1559 rc = kern_select(curthread, nfds, readfds, writefds, exceptfds, timeout, 64);
1560 if (rc)
1561 goto kern_fail;
1562 rc = curthread->td_retval[0];
1563
1564 return (rc);
1565kern_fail:
1566 ff_os_errno(rc);
1567 return (-1);
1568
1569}
1570
1571int
1572ff_poll(struct pollfd fds[], nfds_t nfds, int timeout)

Callers 2

selectFunction · 0.85
ff_sys_selectFunction · 0.85

Calls 2

kern_selectFunction · 0.85
ff_os_errnoFunction · 0.85

Tested by

no test coverage detected