syscall.sh / arc / 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.9
man pagetee(2)
sourceelixir.bootlin.com

Registers

registervalue
r877, the syscall number
r0int fdin
r1int fdout
r2size_t len
r3unsigned int flags
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

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