syscall.sh / sparc64 / sendfile

sendfile

transfer data between file descriptors

sys_sendfile64(int out_fd, int in_fd, loff_t *offset, size_t count)
number39 (0x27)
abi64
entry pointsys_sendfile64
sinceLinux 5.0
man pagesendfile(2)
sourceelixir.bootlin.com

Registers

registervalue
g139, the syscall number
o0int out_fd
o1int in_fd
o2loff_t *offset
o3size_t count
o0the return value

Then run t 0x6d to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/sendfile