#include <unistd.h>
#include <stdlib.h>
#include <pwd.h>
#include <grass/gis.h>
Go to the source code of this file.
user's name
Returns a pointer to a string which is the user's login name.
Definition at line 34 of file whoami.c.
References G_store(), getenv(), name, and NULL.
Referenced by G_short_history().