syscall.sh / xtensa / pipe2

pipe2

create pipe

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

Registers

registervalue
a2311, the syscall number
a6int *fildes
a3int flags
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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