summaryrefslogtreecommitdiff
path: root/05/musl-0.6.0/src/unistd/getlogin.c
blob: 06011913a0d712e678a3ca5ec07fd7e086580971 (plain)
1
2
3
4
5
6
7
#include <unistd.h>
#include <stdlib.h>

char *getlogin(void)
{
	return getenv("LOGNAME");
}