syscall.sh / openrisc / preadv
preadv
read or write data into multiple buffers
sys_preadv(unsigned long fd, const struct iovec *vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h)
| number | 69 (0x45) |
|---|---|
| abi | common |
| entry point | sys_preadv |
| since | Linux 3.7 |
| man page | preadv(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r11 | 69, 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 |
r11 | the return value |
Then run l.sys 1 to enter the kernel.
Same syscall on other architectures
- x64 295
- x86 333
- arm64 69
- arm 361
- riscv64 69
- x32 1073742358
- loongarch64 69
- ppc64 320
- ppc 320
- s390x 328
- mips64 5289
- mipsn32 6293
- mipso32 4330
- alpha 490
- arc 69
- csky 69
- hexagon 69
- m68k 329
- microblaze 363
- nios2 69
- parisc 315
- sh 333
- sparc 324
- sparc64 324
- xtensa 317
Get this as JSON: https://api.syscall.sh/v2/syscalls/openrisc/preadv