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

Function syscall_getdents

source/kernel/syscall.cpp:762–767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

760}
761
762static U32 syscall_getdents(CPU* cpu, U32 eipCount) {
763 SYS_LOG1(SYSCALL_FILE, cpu, "getdents: fd=%d dir=%X count=%d", ARG1, ARG2, ARG3);
764 U32 result = cpu->thread->process->getdents(ARG1, ARG2, ARG3, false);
765 SYS_LOG(SYSCALL_FILE, cpu, " result=%d(0x%X)\n", result, result);
766 return result;
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);

Callers

nothing calls this directly

Calls 1

getdentsMethod · 0.80

Tested by

no test coverage detected