syscall.sh / sh / pipe2

pipe2

create pipe

sys_pipe2(int *fildes, int flags)
number331 (0x14b)
abicommon
entry pointsys_pipe2
sinceLinux 5.0
man pagepipe2(2)
sourceelixir.bootlin.com

Registers

registervalue
r3331, the syscall number
r4int *fildes
r5int flags
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/pipe2