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

Registers

registervalue
r1177, the syscall number
r3int fdin
r4int fdout
r5size_t len
r6unsigned 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/tee