syscall.sh / m68k / pipe2
pipe2
create pipe
sys_pipe2(int *fildes, int flags)
| number | 327 (0x147) |
|---|---|
| abi | common |
| entry point | sys_pipe2 |
| since | Linux 5.0 |
| man page | pipe2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 327, the syscall number |
d1 | int *fildes |
d2 | int flags |
d0 | the return value |
Then run trap #0 to enter the kernel.
Same syscall on other architectures
- x64 293
- x86 331
- arm64 59
- arm 359
- riscv64 59
- x32 1073742117
- loongarch64 59
- ppc64 317
- ppc 317
- s390x 325
- mips64 5287
- mipsn32 6291
- mipso32 4328
- alpha 488
- arc 59
- csky 59
- hexagon 59
- microblaze 343
- nios2 59
- openrisc 59
- parisc 313
- sh 331
- sparc 321
- sparc64 321
- xtensa 311
Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/pipe2