| 295 | } |
| 296 | |
| 297 | static 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 | |
| 306 | static U32 syscall_dup(CPU* cpu, U32 eipCount) { |
| 307 | SYS_LOG1(SYSCALL_FILE, cpu, "dup: fildes=%d", ARG1); |
nothing calls this directly
no test coverage detected