syscall.sh / csky / sendmmsg
sendmmsg
send multiple messages on a socket
sys_sendmmsg(int fd, struct mmsghdr *mmsg, unsigned int vlen, unsigned int flags)
| number | 269 (0x10d) |
|---|---|
| abi | common |
| entry point | sys_sendmmsg |
| since | Linux 4.20 |
| man page | sendmmsg(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 269, the syscall number |
a0 | int fd |
a1 | struct mmsghdr *mmsg |
a2 | unsigned int vlen |
a3 | unsigned int flags |
a0 | the return value |
Then run trap 0 to enter the kernel.
Same syscall on other architectures
- x64 307
- x86 345
- arm64 269
- arm 374
- riscv64 269
- x32 1073742362
- loongarch64 269
- ppc64 349
- ppc 349
- s390x 358
- mips64 5302
- mipsn32 6307
- mipso32 4343
- alpha 503
- arc 269
- hexagon 269
- m68k 372
- microblaze 376
- nios2 269
- openrisc 269
- parisc 329
- sh 363
- sparc 336
- sparc64 336
- xtensa 115
Get this as JSON: https://api.syscall.sh/v2/syscalls/csky/sendmmsg