whoami.c File Reference

#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


Function Documentation

char* G_whoami ( void   ) 

user's name

Returns a pointer to a string which is the user's login name.

Parameters:
~ 
Returns:
char *

Definition at line 33 of file whoami.c.

References G_store(), name, and NULL.

Referenced by G_done_msg(), and G_short_history().


Generated on Sat Jul 22 22:06:39 2006 for GRASS by  doxygen 1.4.7