syscall.sh / m68k / splice

splice

splice data to/from a pipe

sys_splice(int fd_in, loff_t *off_in, int fd_out, loff_t *off_out, size_t len, unsigned int flags)
number306 (0x132)
abicommon
entry pointsys_splice
sinceLinux 5.0
man pagesplice(2)
sourceelixir.bootlin.com

Registers

registervalue
d0306, the syscall number
d1int fd_in
d2loff_t *off_in
d3int fd_out
d4loff_t *off_out
d5size_t len
a0unsigned int flags
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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