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

Function syscall_fstatat64

source/kernel/syscall.cpp:1503–1509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1501}
1502
1503static U32 syscall_fstatat64(CPU* cpu, U32 eipCount) {
1504 BString path = cpu->memory->readString(ARG2);
1505 SYS_LOG1(SYSCALL_FILE, cpu, "statat64: dirfd=%d path=%s buf=%X flags=%x", ARG1, path.c_str(), ARG3, ARG4);
1506 U32 result = cpu->thread->process->fstatat64(ARG1, path, ARG3, ARG4);
1507 SYS_LOG(SYSCALL_FILE, cpu, " result=%d(0x%X)\n", result, result);
1508 return result;
1509}
1510
1511static U32 syscall_unlinkat(CPU* cpu, U32 eipCount) {
1512 BString path = cpu->memory->readString(ARG2);

Callers

nothing calls this directly

Calls 3

fstatat64Method · 0.80
readStringMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected