syscall.sh / parisc / pwrite64
pwrite64
read from or write to a file descriptor at a given offset
parisc_pwrite64(unsigned int fd, const char *buf, size_t count, loff_t pos)
| number | 109 (0x6d) |
|---|---|
| abi | 32 |
| entry point | parisc_pwrite64 |
| since | Linux 5.0 |
| man page | pwrite64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 109, the syscall number |
r26 | unsigned int fd |
r25 | const char *buf |
r24 | size_t count |
r23 | loff_t pos |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
Same syscall on other architectures
- x64 18
- x86 181
- arm64 68
- arm 181
- riscv64 68
- x32 1073741842
- loongarch64 68
- ppc64 180
- ppc 180
- s390x 181
- mips64 5017
- mipsn32 6017
- mipso32 4201
- alpha 350
- arc 68
- csky 68
- hexagon 68
- m68k 181
- microblaze 181
- nios2 68
- openrisc 68
- sh 181
- sparc 68
- sparc64 68
- xtensa 31
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/pwrite64