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

Function syscall_lstat64

source/kernel/syscall.cpp:1001–1007  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

999}
1000
1001static U32 syscall_lstat64(CPU* cpu, U32 eipCount) {
1002 BString path = cpu->memory->readString(ARG1);
1003 SYS_LOG1(SYSCALL_FILE, cpu, "lstat64: path=%s buf=%X", path.c_str(), ARG2);
1004 U32 result = cpu->thread->process->lstat64(path, ARG2);
1005 SYS_LOG(SYSCALL_FILE, cpu, " result=%d(0x%X)\n", result, result);
1006 return result;
1007}
1008
1009static U32 syscall_fstat64(CPU* cpu, U32 eipCount) {
1010 SYS_LOG1(SYSCALL_FILE, cpu, "fstat64: fildes=%d buf=%X", ARG1, ARG2);

Callers

nothing calls this directly

Calls 3

lstat64Method · 0.80
readStringMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected