syscall.sh / openrisc / preadv2
preadv2
read or write data into multiple buffers
sys_preadv2(unsigned long fd, const struct iovec *vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags)
| number | 286 (0x11e) |
|---|---|
| abi | common |
| entry point | sys_preadv2 |
| since | Linux 4.6 |
| man page | preadv2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r11 | 286, the syscall number |
r3 | unsigned long fd |
r4 | const struct iovec *vec |
r5 | unsigned long vlen |
r6 | unsigned long pos_l |
r7 | unsigned long pos_h |
r8 | rwf_t flags |
r11 | the return value |
Then run l.sys 1 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
- mipsn32 6325
- mipso32 4361
- alpha 520
- arc 286
- csky 286
- hexagon 286
- m68k 377
- microblaze 393
- nios2 286
- parisc 347
- sh 381
- sparc 358
- sparc64 358
- xtensa 346
Get this as JSON: https://api.syscall.sh/v2/syscalls/openrisc/preadv2