syscall.sh / x86 / pipe2

pipe2

create pipe

sys_pipe2(int *fildes, int flags)
number331 (0x14b)
abii386
entry pointsys_pipe2
sinceLinux 3.3
man pagepipe2(2)
sourceelixir.bootlin.com

Registers

registervalue
eax331, the syscall number
ebxint *fildes
ecxint flags
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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