syscall.sh / hexagon / 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
r659, the syscall number
r0int *fildes
r1int flags
r0the return value

Then run trap0(#1) to enter the kernel.

Same syscall on other architectures

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