8 lines
93 B
C
8 lines
93 B
C
|
#include <unistd.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
char *getlogin(void)
|
||
|
{
|
||
|
return getenv("LOGNAME");
|
||
|
}
|