syscall.sh / xtensa / sendmsg

sendmsg

send a message on a socket

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

Registers

registervalue
a2106, the syscall number
a6int fd
a3struct user_msghdr *msg
a4unsigned int flags
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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