syscall.sh / xtensa / sendfile

sendfile

transfer data between file descriptors

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

Registers

registervalue
a2113, the syscall number
a6int out_fd
a3int in_fd
a4off_t *offset
a5size_t count
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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