syscall.sh / xtensa / send
send
send a message on a socket
sys_send(int fd, void *buff, size_t len, unsigned int flags)
| number | 108 (0x6c) |
|---|---|
| abi | common |
| entry point | sys_send |
| since | Linux 5.0 |
| man page | send(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a2 | 108, the syscall number |
a6 | int fd |
a3 | void *buff |
a4 | size_t len |
a5 | unsigned int flags |
a2 | the 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/send