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

Function syscall_utimes

source/kernel/syscall.cpp:1448–1454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1446}
1447
1448static U32 syscall_utimes(CPU* cpu, U32 eipCount) {
1449 BString fileName = cpu->memory->readString(ARG1);
1450 SYS_LOG1(SYSCALL_FILE, cpu, "utimes: fileName=%s times=%X", fileName.c_str(), ARG2);
1451 U32 result = cpu->thread->process->utimes(fileName, ARG2);
1452 SYS_LOG(SYSCALL_FILE, cpu, " result=%d(0x%X)\n", result, result);
1453 return result;
1454}
1455
1456static U32 syscall_fadvise64(CPU* cpu, U32 eipCount) {
1457 U32 result = 0;

Callers

nothing calls this directly

Calls 3

utimesMethod · 0.80
readStringMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected