syscall.sh / mipsn32 / sendfile

sendfile

transfer data between file descriptors

compat_sys_sendfile(int out_fd, int in_fd, off_t *offset, size_t count)
number6039 (0x1797)
abin32
entry pointcompat_sys_sendfile
sinceLinux 5.0
man pagesendfile(2)
sourceelixir.bootlin.com

Registers

registervalue
v06039, the syscall number
a0int out_fd
a1int in_fd
a2off_t *offset
a3size_t count
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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