#include <unistd.h>
#include <pwd.h>
#include "gis.h"
Include dependency graph for whoami.c:
Go to the source code of this file.
Functions | |
char * | G_whoami (void) |
user's name |
char* G_whoami | ( | void | ) |
user's name
Returns a pointer to a string which is the user's login name.
~ |
Definition at line 33 of file whoami.c.
References G_store(), name, and NULL.
Referenced by G_done_msg(), and G_short_history().