syscall.sh / nios2 / tee

tee

duplicating pipe content

sys_tee(int fdin, int fdout, size_t len, unsigned int flags)
number77 (0x4d)
abicommon
entry pointsys_tee
sinceLinux 3.19
man pagetee(2)
sourceelixir.bootlin.com

Registers

registervalue
r277, the syscall number
r4int fdin
r5int fdout
r6size_t len
r7unsigned int flags
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/nios2/tee