syscall.sh / sh / recv

recv

receive a message from a socket

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

Registers

registervalue
r3350, the syscall number
r4int fd
r5void *ubuf
r6size_t size
r7unsigned int flags
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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