syscall.sh / ppc / sendmsg

sendmsg

send a message on a socket

sys_sendmsg(int fd, struct user_msghdr *msg, unsigned int flags)
number341 (0x155)
abicommon
entry pointsys_sendmsg
sinceLinux 5.0
man pagesendmsg(2)
sourceelixir.bootlin.com

Registers

registervalue
r0341, the syscall number
r3int fd
r4struct user_msghdr *msg
r5unsigned 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/sendmsg