syscall.sh / alpha / send
send
send a message on a socket
sys_send(int fd, void *buff, size_t len, unsigned int flags)
| number | 101 (0x65) |
|---|---|
| abi | common |
| entry point | sys_send |
| since | Linux 5.0 |
| man page | send(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 101, the syscall number |
a0 | int fd |
a1 | void *buff |
a2 | size_t len |
a3 | unsigned int flags |
v0 | the return value |
Then run callsys to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/send