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

Function syscall_fcntl

source/kernel/syscall.cpp:359–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357}
358
359static U32 syscall_fcntl(CPU* cpu, U32 eipCount) {
360 SYS_LOG1(SYSCALL_FILE, cpu, "syscall_fcntl: fd=%d cmd=%d", ARG1, ARG2);
361 U32 result = cpu->thread->process->fcntrl(cpu->thread, ARG1, ARG2, ARG3);
362 SYS_LOG(SYSCALL_FILE, cpu, " result=%d(0x%X)\n", result, result);
363 return result;
364}
365
366static U32 syscall_setpgid(CPU* cpu, U32 eipCount) {
367 SYS_LOG1(SYSCALL_SYSTEM, cpu, "setpgid: pid=%d pgid=%d", ARG1, ARG2);

Callers

nothing calls this directly

Calls 1

fcntrlMethod · 0.80

Tested by

no test coverage detected