syscall.sh / ppc64 / tee

tee

duplicating pipe content

sys_tee(int fdin, int fdout, size_t len, unsigned int flags)
number284 (0x11c)
abicommon
entry pointsys_tee
sinceLinux 5.0
man pagetee(2)
sourceelixir.bootlin.com

Registers

registervalue
r0284, the syscall number
r3int fdin
r4int fdout
r5size_t len
r6unsigned int flags
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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