pread64 on nds32
read from or write to a file descriptor at a given offset
sys_pread64(unsigned int fd, char *buf, size_t count, loff_t pos)
| number | 67 (0x43) |
|---|---|
| abi | common |
| entry point | sys_pread64 |
| since | Linux 4.17 or earlier (4.17 is the first release scanned for nds32) |
| man page | pread64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 67, the syscall number |
r0 | unsigned int fd |
r1 | char *buf |
r2 | size_t count |
r3 | loff_t pos |
r0 | the return value |
Then run syscall to enter the kernel.
This architecture was removed from the Linux kernel in Linux 5.18. The newest release with a syscall table here is Linux 5.17. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 17
- x86 180
- arm64 67
- arm 180
- riscv64 67
- ia32 180
- x32 1073741841
- loongarch64 67
- ppc64 179
- ppc 179
- s390x 180
- mips64 5016
- mipsn32 6016
- mipso32 4200
- alpha 349
- arc 67
- blackfin 351, removed in 4.17
- cris 180, removed in 4.17
- csky 67
- frv 180, removed in 4.17
- hexagon 67
- ia64 1148, removed in 6.7
- m32r 180, removed in 4.17
- m68k 180
- metag 67, removed in 4.17
- microblaze 180
- mn10300 180, removed in 4.17
- nios2 67
- openrisc 67
- parisc 108
- score 67, removed in 4.17
- sh 180
- sparc 67
- sparc64 67
- tilegx 67, removed in 4.17
- tilepro 67, removed in 4.17
- xtensa 30
Get this as JSON: https://api.syscall.sh/v2/syscalls/nds32/pread64?kernel=all