syscall.sh / sh / pselect6
pselect6
synchronous I/O multiplexing
sys_pselect6_time32(int n, fd_set *inp, fd_set *outp, fd_set *exp, struct old_timespec32 *tsp, void *sig)
| number | 308 (0x134) |
|---|---|
| abi | common |
| entry point | sys_pselect6_time32 |
| since | Linux 5.0 |
| man page | pselect6(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r3 | 308, the syscall number |
r4 | int n |
r5 | fd_set *inp |
r6 | fd_set *outp |
r7 | fd_set *exp |
r0 | struct old_timespec32 *tsp |
r1 | void *sig |
r0 | the return value |
Then run trapa #31 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
- s390x 301
- mips64 5260
- mipsn32 6264
- mipso32 4301
- alpha 463
- arc 72
- csky 72
- hexagon 72
- m68k 301
- microblaze 308
- nios2 72
- openrisc 72
- parisc 273
- sparc 297
- sparc64 297
- xtensa 272
Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/pselect6