sendto on tilegx
send a message on a socket
sys_sendto(int fd, void *buff, size_t len, unsigned int flags, struct sockaddr *addr, int addr_len)
| number | 206 (0xce) |
|---|---|
| abi | common |
| entry point | sys_sendto |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilegx) |
| man page | sendto(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 206, the syscall number |
r0 | int fd |
r1 | void *buff |
r2 | size_t len |
r3 | unsigned int flags |
r4 | struct sockaddr *addr |
r5 | int addr_len |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 44
- x86 369
- arm64 206
- arm 290
- riscv64 206
- ia32 369
- x32 1073741868
- loongarch64 206
- ppc64 335
- ppc 335
- s390x 369
- mips64 5043
- mipsn32 6043
- mipso32 4180
- alpha 133
- arc 206
- blackfin 326, removed in 4.17
- csky 206
- hexagon 206
- ia64 1199, removed in 6.7
- m68k 366
- metag 206, removed in 4.17
- microblaze 353
- nds32 206, removed in 5.18
- nios2 206
- openrisc 206
- parisc 82
- score 206, removed in 4.17
- sh 349
- sparc 133
- sparc64 133
- tilepro 206, removed in 4.17
- xtensa 110
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilegx/sendto?kernel=all