GRASS Programmer's Manual
6.5.svn(2014)-r66266
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
db/dbmi_base/whoami.c
Go to the documentation of this file.
1
#include <stdlib.h>
2
#include <stdio.h>
3
#include <grass/gis.h>
4
11
char
*
db_whoami
()
12
{
13
char
*userid =
G_store
(
getenv
(
"LOGNAME"
));
14
15
return
userid;
16
}
G_store
char * G_store(const char *s)
Copy string to allocated memory.
Definition:
store.c:32
getenv
char * getenv()
db_whoami
char * db_whoami()
Definition:
db/dbmi_base/whoami.c:11
lib
db
dbmi_base
whoami.c
Generated on Sat Jan 2 2016 01:46:50 for GRASS Programmer's Manual by
1.8.5