sendmmsg on riscv64

send multiple messages on a socket

sys_sendmmsg(int fd, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags)
number269 (0x10d)
abicommon
entry pointsys_sendmmsg
sinceLinux 4.15 or earlier (4.15 is the first release scanned for riscv64)
man pagesendmmsg(2)
sourceelixir.bootlin.com

Registers

registervalue
a7269, the syscall number
a0int fd
a1struct mmsghdr *mmsg
a2unsigned int vlen
a3unsigned int flags
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

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