GRASS Programmer's Manual 6.4.1(2011)
whoami.c
Go to the documentation of this file.
00001 #include <stdlib.h>
00002 #include <stdio.h>
00003 #include <grass/gis.h>
00004 
00011 char *db_whoami()
00012 {
00013     char *userid = G_store(getenv("LOGNAME"));
00014 
00015     return userid;
00016 }
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines