pwrite64 on metag
read from or write to a file descriptor at a given offset
sys_pwrite64_metag(unsigned long fd, const char *buf, size_t count, unsigned long lo, unsigned long hi)
| number | 68 (0x44) |
|---|---|
| abi | common |
| entry point | sys_pwrite64_metag |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | pwrite64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 68, the syscall number |
D1Ar1 | unsigned long fd |
D0Ar2 | const char *buf |
D1Ar3 | size_t count |
D0Ar4 | unsigned long lo |
D1Ar5 | unsigned long hi |
D0Re0 | the return value |
Then run SWITCH #0x440001 to enter the kernel.
Values wider than one register are packed into consecutive arguments.
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
- microblaze 181
- mn10300 181, removed in 4.17
- 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/metag/pwrite64?kernel=all