syscall.sh / x64 / pipe2

pipe2

create pipe

sys_pipe2(int *fildes, int flags)
number293 (0x125)
abicommon
entry pointsys_pipe2
sinceLinux 3.3
man pagepipe2(2)
sourceelixir.bootlin.com

Registers

registervalue
rax293, the syscall number
rdiint *fildes
rsiint flags
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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