syscall.sh / ppc / recv

recv

receive a message from a socket

sys_recv(int fd, void *ubuf, size_t size, unsigned int flags)
number336 (0x150)
abicommon
entry pointsys_recv
sinceLinux 5.0
man pagerecv(2)
sourceelixir.bootlin.com

Registers

registervalue
r0336, the syscall number
r3int fd
r4void *ubuf
r5size_t size
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/ppc/recv