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

Function syscall_stat64

source/kernel/syscall.cpp:993–999  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

991}
992
993static U32 syscall_stat64(CPU* cpu, U32 eipCount) {
994 BString path = cpu->memory->readString(ARG1);
995 SYS_LOG1(SYSCALL_FILE, cpu, "stat64: path=%s buf=%X", path.c_str(), ARG2);
996 U32 result = cpu->thread->process->stat64(path, ARG2);
997 SYS_LOG(SYSCALL_FILE, cpu, " result=%d(0x%X)\n", result, result);
998 return result;
999}
1000
1001static U32 syscall_lstat64(CPU* cpu, U32 eipCount) {
1002 BString path = cpu->memory->readString(ARG1);

Callers

nothing calls this directly

Calls 3

stat64Method · 0.80
readStringMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected