GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-bea8435a9e
db/dbmi_base/whoami.c File Reference

DBMI Library (base) - who am i. More...

#include <stdlib.h>
#include <stdio.h>
#include <grass/gis.h>
Include dependency graph for db/dbmi_base/whoami.c:

Go to the source code of this file.

Functions

const char * db_whoami (void)
 Who am i? More...
 

Detailed Description

DBMI Library (base) - who am i.

(C) 1999-2009, 2011 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Author
Joel Jones (CERL/UIUC), Radim Blazek
Doxygenized by Martin Landa <landa.martin gmail.com> (2011)

Definition in file db/dbmi_base/whoami.c.

Function Documentation

◆ db_whoami()

const char* db_whoami ( void  )

Who am i?

Check environmental variable LOGNAME

Returns
string buffer with logname

Definition at line 26 of file db/dbmi_base/whoami.c.

References G_store().