syscall.sh / sh / sendfile64

sendfile64

transfer data between file descriptors

sys_sendfile64(int out_fd, int in_fd, loff_t *offset, size_t count)
number239 (0xef)
abicommon
entry pointsys_sendfile64
sinceLinux 5.0
man pagesendfile64(2)
sourceelixir.bootlin.com

Registers

registervalue
r3239, the syscall number
r4int out_fd
r5int in_fd
r6loff_t *offset
r7size_t count
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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