recvfrom on tilepro
receive a message from a socket
sys_recvfrom(int fd, void *ubuf, size_t size, unsigned int flags, struct sockaddr *addr, int *addr_len)
| number | 207 (0xcf) |
|---|---|
| abi | common |
| entry point | sys_recvfrom |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | recvfrom(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 207, the syscall number |
r0 | int fd |
r1 | void *ubuf |
r2 | size_t size |
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 for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
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 45
- x86 371
- arm64 207
- arm 292
- riscv64 207
- ia32 371
- x32 1073742341
- loongarch64 207
- ppc64 337
- ppc 337
- s390x 371
- mips64 5044
- mipsn32 6044
- mipso32 4176
- alpha 125
- arc 207
- blackfin 322, removed in 4.17
- csky 207
- hexagon 207
- ia64 1201, removed in 6.7
- m68k 368
- metag 207, removed in 4.17
- microblaze 355
- nds32 207, removed in 5.18
- nios2 207
- openrisc 207
- parisc 123
- score 207, removed in 4.17
- sh 351
- sparc 125
- sparc64 125
- tilegx 207, removed in 4.17
- xtensa 111
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/recvfrom?kernel=all