syscall.sh / s390x / pselect6
pselect6
synchronous I/O multiplexing
sys_pselect6(int n, fd_set *inp, fd_set *outp, fd_set *exp, struct __kernel_timespec *tsp, void *sig)
| number | 301 (0x12d) |
|---|---|
| abi | common |
| entry point | sys_pselect6 |
| since | Linux 4.16 |
| man page | pselect6(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r1 | 301, the syscall number |
r2 | int n |
r3 | fd_set *inp |
r4 | fd_set *outp |
r5 | fd_set *exp |
r6 | struct __kernel_timespec *tsp |
r7 | void *sig |
r2 | the return value |
Then run svc 0 to enter the kernel.
Same syscall on other architectures
- x64 270
- x86 308
- arm64 72
- arm 335
- riscv64 72
- x32 1073742094
- loongarch64 72
- ppc64 280
- ppc 280
- mips64 5260
- mipsn32 6264
- mipso32 4301
- alpha 463
- arc 72
- csky 72
- hexagon 72
- m68k 301
- microblaze 308
- nios2 72
- openrisc 72
- parisc 273
- sh 308
- sparc 297
- sparc64 297
- xtensa 272
Get this as JSON: https://api.syscall.sh/v2/syscalls/s390x/pselect6