pwrite64 on mn10300
read from or write to a file descriptor at a given offset
sys_pwrite64(unsigned int fd, const char *buf, size_t count, loff_t pos)
| number | 181 (0xb5) |
|---|---|
| abi | common |
| entry point | sys_pwrite64 |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for mn10300) |
| man page | pwrite64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 181, the syscall number |
a0 | unsigned int fd |
d1 | const char *buf |
a3 | size_t count |
a2 | loff_t pos |
d0 | the return value |
Then run syscall 0 to enter the kernel.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 18
- x86 181
- arm64 68
- arm 181
- riscv64 68
- ia32 181
- x32 1073741842
- loongarch64 68
- ppc64 180
- ppc 180
- s390x 181
- mips64 5017
- mipsn32 6017
- mipso32 4201
- alpha 350
- arc 68
- blackfin 352, removed in 4.17
- cris 181, removed in 4.17
- csky 68
- frv 181, removed in 4.17
- hexagon 68
- ia64 1149, removed in 6.7
- m32r 181, removed in 4.17
- m68k 181
- metag 68, removed in 4.17
- microblaze 181
- nds32 68, removed in 5.18
- nios2 68
- openrisc 68
- parisc 109
- score 68, removed in 4.17
- sh 181
- sparc 68
- sparc64 68
- tilegx 68, removed in 4.17
- tilepro 68, removed in 4.17
- xtensa 31
Get this as JSON: https://api.syscall.sh/v2/syscalls/mn10300/pwrite64?kernel=all