syscall.sh / nios2 / sendmsg

sendmsg

send a message on a socket

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

Registers

registervalue
r2211, the syscall number
r4int fd
r5struct user_msghdr *msg
r6unsigned int flags
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

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