aboutsummaryrefslogtreecommitdiff
path: root/src/unistd/getlogin.c
blob: af8372a4c015cab156db4bb0988ddd8e49538b2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <unistd.h>
#include <stdlib.h>

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


#ifdef TEST
int
main(void) {
	return 0;
}
#endif