syscall.sh / mipsn32 / preadv2
preadv2
read or write data into multiple buffers
compat_sys_preadv2(unsigned long fd, const struct iovec *vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags)
| number | 6325 (0x18b5) |
|---|---|
| abi | n32 |
| entry point | compat_sys_preadv2 |
| since | Linux 5.0 |
| man page | preadv2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 6325, the syscall number |
a0 | unsigned long fd |
a1 | const struct iovec *vec |
a2 | unsigned long vlen |
a3 | unsigned long pos_l |
a4 | unsigned long pos_h |
a5 | rwf_t flags |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 327
- x86 378
- arm64 286
- arm 392
- riscv64 286
- x32 1073742358, 1073742370
- loongarch64 286
- ppc64 380
- ppc 380
- s390x 376
- mips64 5321
- mipso32 4361
- alpha 520
- arc 286
- csky 286
- hexagon 286
- m68k 377
- microblaze 393
- nios2 286
- openrisc 286
- parisc 347
- sh 381
- sparc 358
- sparc64 358
- xtensa 346
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipsn32/preadv2