syscall.sh / arm / sendfile

sendfile

transfer data between file descriptors

sys_sendfile(int out_fd, int in_fd, off_t *offset, size_t count)
number187 (0xbb)
abicommon
entry pointsys_sendfile
sinceLinux 4.10
man pagesendfile(2)
sourceelixir.bootlin.com

Registers

registervalue
r7187, the syscall number
r0int out_fd
r1int in_fd
r2off_t *offset
r3size_t count
r0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

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