syscall.sh / m68k / 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 | 377 (0x179) |
|---|---|
| abi | common |
| entry point | sys_preadv2 |
| since | Linux 5.0 |
| man page | preadv2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 377, the syscall number |
d1 | unsigned long fd |
d2 | const struct iovec *vec |
d3 | unsigned long vlen |
d4 | unsigned long pos_l |
d5 | unsigned long pos_h |
a0 | rwf_t flags |
d0 | the return value |
Then run trap #0 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
- 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/m68k/preadv2