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

Function syscall_newselect

source/kernel/syscall.cpp:769–774  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

767}
768
769static U32 syscall_newselect(CPU* cpu, U32 eipCount) {
770 SYS_LOG1(SYSCALL_PROCESS, cpu, "newselect: nfd=%d readfds=%X writefds=%X errorfds=%X timeout=%d", ARG1, ARG2, ARG3, ARG4, ARG5);
771 U32 result = kselect(cpu->thread, ARG1, ARG2, ARG3, ARG4, ARG5, true);
772 SYS_LOG(SYSCALL_PROCESS, cpu, " result=%d(0x%X)\n", result, result);
773 return result;
774}
775
776static U32 syscall_pselect6(CPU* cpu, U32 eipCount) {
777 SYS_LOG1(SYSCALL_PROCESS, cpu, "pselect6: nfd=%d readfds=%X writefds=%X errorfds=%X timeout=%d sigmask=%X", ARG1, ARG2, ARG3, ARG4, ARG5, ARG6);

Callers

nothing calls this directly

Calls 1

kselectFunction · 0.85

Tested by

no test coverage detected