GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-a2d9ad8523
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.


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.

Joel Jones (CERL/UIUC), Radim Blazek
Doxygenized by Martin Landa <landa.martin> (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

string buffer with logname

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

References G_store().