lseek on ia64
reposition read/write file offset
sys_lseek(unsigned int fd, off_t offset, unsigned int whence)
| number | 1040 (0x410) |
|---|---|
| abi | common |
| entry point | sys_lseek |
| since | Linux 5.0 or earlier (5.0 is the first release scanned for ia64) |
| man page | lseek(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 1040, the syscall number |
out0 | unsigned int fd |
out1 | off_t offset |
out2 | unsigned int whence |
r8 | the return value |
Then run break 0x100000 to enter the kernel.
The kernel uses r10 to signal an error.
The pipe call returns file descriptors in r8 and r9.
This architecture was removed from the Linux kernel in Linux 6.7. The newest release with a syscall table here is Linux 6.6. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 8
- x86 19
- arm64 62
- arm 19
- riscv64 62
- ia32 19
- x32 1073741832
- loongarch64 62
- ppc64 19
- ppc 19
- s390x 19
- mips64 5008
- mipsn32 6008
- mipso32 4019
- alpha 19
- blackfin 19, removed in 4.17
- cris 19, removed in 4.17
- frv 19, removed in 4.17
- m32r 19, removed in 4.17
- m68k 19
- microblaze 19
- mn10300 19, removed in 4.17
- parisc 19
- score 1057, removed in 4.17
- sh 19
- sparc 19
- sparc64 19
- tilegx 62, removed in 4.17
- xtensa 15
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia64/lseek?kernel=all