carta
getlogin(3) on Linux
The text 36df5e55f3a2, as Debian 3.0 (Woody) shipped it.
get user name
getlogin(3) on Linux now