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

Function syscall_pipe

source/kernel/syscall.cpp:313–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311}
312
313static U32 syscall_pipe(CPU* cpu, U32 eipCount) {
314 SYS_LOG1(SYSCALL_FILE, cpu, "pipe: fildes=%X", ARG1);
315 U32 result = ksocketpair(cpu->thread, K_AF_UNIX, K_SOCK_STREAM, 0, ARG1, 0);
316 SYS_LOG(SYSCALL_FILE, cpu, " result=%d(0x%X)\n", result, result);
317 return result;
318}
319
320static U32 syscall_times(CPU* cpu, U32 eipCount) {
321 SYS_LOG1(SYSCALL_SYSTEM, cpu, "times: buf=%X", ARG1);

Callers

nothing calls this directly

Calls 1

ksocketpairFunction · 0.85

Tested by

no test coverage detected