connect on tilegx
initiate a connection on a socket
sys_connect(int fd, struct sockaddr *uservaddr, int addrlen)
| number | 203 (0xcb) |
|---|---|
| abi | common |
| entry point | sys_connect |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilegx) |
| man page | connect(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 203, the syscall number |
r0 | int fd |
r1 | struct sockaddr *uservaddr |
r2 | int addrlen |
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 42
- x86 362
- arm64 203
- arm 283
- riscv64 203
- ia32 362
- x32 1073741866
- loongarch64 203
- ppc64 328
- ppc 328
- s390x 362
- mips64 5041
- mipsn32 6041
- mipso32 4170
- alpha 98
- arc 203
- blackfin 316, removed in 4.17
- csky 203
- hexagon 203
- ia64 1192, removed in 6.7
- m68k 359
- metag 203, removed in 4.17
- microblaze 350
- nds32 203, removed in 5.18
- nios2 203
- openrisc 203
- parisc 31
- score 203, removed in 4.17
- sh 342
- sparc 98
- sparc64 98
- tilepro 203, removed in 4.17
- xtensa 101
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilegx/connect?kernel=all