syscall.sh / ppc64 / sendfile

sendfile

transfer data between file descriptors

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

Registers

registervalue
r0186, the syscall number
r3int out_fd
r4int in_fd
r5loff_t *offset
r6size_t count
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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