syscall.sh / sh / pipe

pipe

create pipe

sys_sh_pipe(int *fildes)
number42 (0x2a)
abicommon
entry pointsys_sh_pipe
sinceLinux 5.0
man pagepipe(2)
sourceelixir.bootlin.com

Registers

registervalue
r342, the syscall number
r4int *fildes
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/pipe