MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / syscall_epoll_ctl

Function syscall_epoll_ctl

source/kernel/syscall.cpp:1376–1381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1374}
1375
1376static U32 syscall_epoll_ctl(CPU* cpu, U32 eipCount) {
1377 SYS_LOG1(SYSCALL_PROCESS, cpu, "epoll_ctl: epfd=%d op=%d fd=%d events=%X", ARG1, ARG2, ARG3, ARG4);
1378 U32 result = cpu->thread->process->epollctl(ARG1, ARG2, ARG3, ARG4);
1379 SYS_LOG(SYSCALL_PROCESS, cpu, " result=%d(0x%X)\n", result, result);
1380 return result;
1381}
1382
1383static U32 syscall_epoll_wait(CPU* cpu, U32 eipCount) {
1384 SYS_LOG1(SYSCALL_PROCESS|SYSCALL_THREAD, cpu, "epoll_wait: epfd=%d events=%X maxevents=%d timeout=%d", ARG1, ARG2, ARG3, ARG4);

Callers

nothing calls this directly

Calls 1

epollctlMethod · 0.80

Tested by

no test coverage detected