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

Function syscall_rmdir

source/kernel/syscall.cpp:297–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297static U32 syscall_rmdir(CPU* cpu, U32 eipCount) {
298 BString path = cpu->memory->readString(ARG1);
299
300 SYS_LOG1(SYSCALL_FILE, cpu, "rmdir: path=%X(%s)", ARG1, path.c_str());
301 U32 result = cpu->thread->process->rmdir(path);
302 SYS_LOG(SYSCALL_FILE, cpu, " result=%d(0x%X)\n", result, result);
303 return result;
304}
305
306static U32 syscall_dup(CPU* cpu, U32 eipCount) {
307 SYS_LOG1(SYSCALL_FILE, cpu, "dup: fildes=%d", ARG1);

Callers

nothing calls this directly

Calls 3

rmdirMethod · 0.80
readStringMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected