syscall.sh / sparc / sendfile64
sendfile64
transfer data between file descriptors
sys_sendfile64(int out_fd, int in_fd, loff_t *offset, size_t count)
| number | 140 (0x8c) |
|---|---|
| abi | common |
| entry point | sys_sendfile64 |
| since | Linux 5.0 |
| man page | sendfile64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 140, the syscall number |
o0 | int out_fd |
o1 | int in_fd |
o2 | loff_t *offset |
o3 | size_t count |
o0 | the return value |
Then run t 0x10 to enter the kernel.
Same syscall on other architectures
- x86 239
- arm 239
- ppc 226
- mipsn32 6219
- mipso32 4237
- arc 71
- csky 71
- hexagon 71
- m68k 236
- microblaze 239
- nios2 71
- openrisc 71
- parisc 209
- sh 239
- sparc64 140
- xtensa 114
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/sendfile64