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

Function syscall_pread64

source/kernel/syscall.cpp:929–934  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

927}
928
929static U32 syscall_pread64(CPU* cpu, U32 eipCount) {
930 SYS_LOG1(SYSCALL_READ, cpu, "pread64: fd=%d buf=%X len=%d offset=%d", ARG1, ARG2, ARG3, ARG4);
931 U32 result = cpu->thread->process->pread64(cpu->thread, ARG1, ARG2, ARG3, ARG4 | ((U64)ARG5) << 32);
932 SYS_LOG(SYSCALL_READ, cpu, " result=%d(0x%X)\n", result, result);
933 return result;
934}
935
936static U32 syscall_pwrite64(CPU* cpu, U32 eipCount) {
937 SYS_LOG1(SYSCALL_WRITE, cpu, "pwrite64: fd=%d buf=%X len=%d offset=%d", ARG1, ARG2, ARG3, ARG4);

Callers

nothing calls this directly

Calls 1

pread64Method · 0.80

Tested by

no test coverage detected