GRASS 8 Programmer's Manual 8.6.0dev(2026)-4bb960b182
Loading...
Searching...
No Matches
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 chardb_whoami (void)
 Who am i?
 

Detailed Description

DBMI Library (base) - who am i.

SPDX-FileCopyrightText: 1999-2009, 2011 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later

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 24 of file db/dbmi_base/whoami.c.

References G_store().