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

Function syscall_fcntl64

source/kernel/syscall.cpp:1164–1169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1162}
1163
1164static U32 syscall_fcntl64(CPU* cpu, U32 eipCount) {
1165 SYS_LOG1(SYSCALL_FILE, cpu, "fcntl64: fildes=%d cmd=%d arg=%d", ARG1, ARG2, ARG3);
1166 U32 result = cpu->thread->process->fcntrl(cpu->thread, ARG1, ARG2, ARG3);
1167 SYS_LOG(SYSCALL_FILE, cpu, " result=%d(0x%X)\n", result, result);
1168 return result;
1169}
1170
1171static U32 syscall_gettid(CPU* cpu, U32 eipCount) {
1172 U32 result = cpu->thread->id;

Callers

nothing calls this directly

Calls 1

fcntrlMethod · 0.80

Tested by

no test coverage detected