syscall.sh / sparc64 / pwritev
pwritev
read or write data into multiple buffers
sys_pwritev(unsigned long fd, const struct iovec *vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h)
| number | 325 (0x145) |
|---|---|
| abi | common |
| entry point | sys_pwritev |
| since | Linux 5.0 |
| man page | pwritev(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 325, the syscall number |
o0 | unsigned long fd |
o1 | const struct iovec *vec |
o2 | unsigned long vlen |
o3 | unsigned long pos_l |
o4 | unsigned long pos_h |
o0 | the return value |
Then run t 0x6d to enter the kernel.
Same syscall on other architectures
- x64 296
- x86 334
- arm64 70
- arm 362
- riscv64 70
- x32 1073742359
- loongarch64 70
- ppc64 321
- ppc 321
- s390x 329
- mips64 5290
- mipsn32 6294
- mipso32 4331
- alpha 491
- arc 70
- csky 70
- hexagon 70
- m68k 330
- microblaze 364
- nios2 70
- openrisc 70
- parisc 316
- sh 334
- sparc 325
- xtensa 318
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/pwritev