| 474 | } |
| 475 | |
| 476 | static U32 syscall_ftruncate(CPU* cpu, U32 eipCount) { |
| 477 | SYS_LOG1(SYSCALL_FILE, cpu, "ftruncate: fd=%X len=%d", ARG1, ARG2); |
| 478 | U32 result = cpu->thread->process->ftruncate64(ARG1, ARG2); |
| 479 | SYS_LOG(SYSCALL_FILE, cpu, " result=%d(0x%X)\n", result, result); |
| 480 | return result; |
| 481 | } |
| 482 | |
| 483 | static U32 syscall_fchmod(CPU* cpu, U32 eipCount) { |
| 484 | #ifdef _DEBUG |
nothing calls this directly
no test coverage detected