syscall.sh / sparc / sendfile

sendfile

transfer data between file descriptors

sys_sendfile(int out_fd, int in_fd, off_t *offset, size_t count)
number39 (0x27)
abi32
entry pointsys_sendfile
sinceLinux 5.0
man pagesendfile(2)
sourceelixir.bootlin.com

Registers

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

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

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