syscall.sh / ppc64 / pipe2

pipe2

create pipe

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

Registers

registervalue
r0317, the syscall number
r3int *fildes
r4int flags
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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