BSD syscall#49
svc · unix #49
getlogin
Returns the login name associated with the calling session.
Prototype
int getlogin(char *namebuf, u_int namelen);Returns: int
Arguments
| Name | Type | Dir | Description |
|---|---|---|---|
| namebuf | char | - | |
| namelen | u_int | - |
Version history
| XNU tag | macOS | # |
|---|---|---|
| xnu-1456.1.26 | macOS 10.6 Snow Leopard | 49 |
| xnu-1486.2.11 | — | 49 |
| xnu-1504.15.3 | — | 49 |
| xnu-1504.3.12 | — | 49 |
| xnu-1504.7.4 | — | 49 |
| xnu-1504.9.17 | — | 49 |
| xnu-1504.9.26 | — | 49 |
| xnu-1504.9.37 | — | 49 |
Notes
No prose documentation yet.