sendfile64 on nds32
transfer data between file descriptors
sys_sendfile64(int out_fd, int in_fd, loff_t *offset, size_t count)
| number | 71 (0x47) |
|---|---|
| abi | common |
| entry point | sys_sendfile64 |
| since | Linux 4.17 or earlier (4.17 is the first release scanned for nds32) |
| man page | sendfile64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 71, the syscall number |
r0 | int out_fd |
r1 | int in_fd |
r2 | loff_t *offset |
r3 | size_t count |
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
- x86 239
- arm 239
- ia32 239
- ppc 226
- mipsn32 6219
- mipso32 4237
- arc 71
- blackfin 239, removed in 4.17
- cris 239, removed in 4.17
- csky 71
- frv 239, removed in 4.17
- hexagon 71
- m32r 239, removed in 4.17
- m68k 236
- metag 71, removed in 4.17
- microblaze 239
- mn10300 239, removed in 4.17
- nios2 71
- openrisc 71
- parisc 209
- score 71, removed in 4.17
- sh 239
- sparc 140
- sparc64 140
- tilepro 71, removed in 4.17
- xtensa 114
Get this as JSON: https://api.syscall.sh/v2/syscalls/nds32/sendfile64?kernel=all