syscall.sh / openrisc / pipe2

pipe2

create pipe

sys_pipe2(int *fildes, int flags)
number59 (0x3b)
abicommon
entry pointsys_pipe2
sinceLinux 3.7
man pagepipe2(2)
sourceelixir.bootlin.com

Registers

registervalue
r1159, the syscall number
r3int *fildes
r4int flags
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

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