BSD syscall#32
svc · unix #32
getsockname
Returns the local address bound to a socket.
Prototype
int getsockname(int fdes, caddr_t asa, socklen_t *alen);Returns: int
Arguments
| Name | Type | Dir | Description |
|---|---|---|---|
| fdes | int | - | |
| asa | caddr_t | - | |
| alen | socklen_t | - |
Version history
| XNU tag | macOS | # |
|---|---|---|
| xnu-1456.1.26 | macOS 10.6 Snow Leopard | 32 |
| xnu-1486.2.11 | — | 32 |
| xnu-1504.15.3 | — | 32 |
| xnu-1504.3.12 | — | 32 |
| xnu-1504.7.4 | — | 32 |
| xnu-1504.9.17 | — | 32 |
| xnu-1504.9.26 | — | 32 |
| xnu-1504.9.37 | — | 32 |
Notes
No prose documentation yet.