llseek on nds32
reposition read/write file offset
sys_llseek(unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t *result, unsigned int whence)
| number | 62 (0x3e) |
|---|---|
| abi | common |
| entry point | sys_llseek |
| since | Linux 4.17 or earlier (4.17 is the first release scanned for nds32) |
| man page | llseek(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 62, the syscall number |
r0 | unsigned int fd |
r1 | unsigned long offset_high |
r2 | unsigned long offset_low |
r3 | loff_t *result |
r4 | unsigned int whence |
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
- arc 62
- csky 62
- hexagon 62
- metag 62, removed in 4.17
- nios2 62
- openrisc 62
- score 62, removed in 4.17
- tilepro 62, removed in 4.17
Get this as JSON: https://api.syscall.sh/v2/syscalls/nds32/llseek?kernel=all