syscall.sh / openrisc / 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)
number76 (0x4c)
abicommon
entry pointsys_splice
sinceLinux 3.7
man pagesplice(2)
sourceelixir.bootlin.com

Registers

registervalue
r1176, the syscall number
r3int fd_in
r4loff_t *off_in
r5int fd_out
r6loff_t *off_out
r7size_t len
r8unsigned int flags
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

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