GRASS GIS 8 Programmer's Manual
8.5.0dev(2025)-565e82de51
Main Page
Related Pages
Data Structures
Data Structures
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
y
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
y
Enumerations
a
c
d
e
h
i
j
l
m
n
o
p
r
s
t
v
y
Enumerator
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
db/dbmi_base/whoami.c
Go to the documentation of this file.
1
/*!
2
\file lib/db/dbmi_base/whoami.c
3
4
\brief DBMI Library (base) - who am i
5
6
(C) 1999-2009, 2011 by the GRASS Development Team
7
8
This program is free software under the GNU General Public License
9
(>=v2). Read the file COPYING that comes with GRASS for details.
10
11
\author Joel Jones (CERL/UIUC), Radim Blazek
12
\author Doxygenized by Martin Landa <landa.martin gmail.com> (2011)
13
*/
14
15
#include <
stdlib.h
>
16
#include <
stdio.h
>
17
#include <
grass/gis.h
>
18
19
/*!
20
\brief Who am i?
21
22
Check environmental variable LOGNAME
23
24
\return string buffer with logname
25
*/
26
const
char
*
db_whoami
(
void
)
27
{
28
return
G_store
(getenv(
"LOGNAME"
));
29
}
db_whoami
const char * db_whoami(void)
Who am i?
Definition:
db/dbmi_base/whoami.c:26
G_store
char * G_store(const char *)
Copy string to allocated memory.
Definition:
strings.c:87
gis.h
stdio.h
stdlib.h
lib
db
dbmi_base
whoami.c
Generated on Thu Mar 20 2025 07:33:31 for GRASS GIS 8 Programmer's Manual by
1.9.1