gggetuserdir(3) debian man page | unix.com

Man Page: gggetuserdir

Operating Environment: debian

Section: 3

ggGetUserDir(3) 							GGI							   ggGetUserDir(3)

NAME
ggGetUserDir - Get user home directory
SYNOPSIS
#include <ggi/gg.h> const char * ggGetUserDir(void);
DESCRIPTION
ggGetUserDir returns a path to the home directory of the user executing an application, whatever it may be on a given system. For example, on unix systems it will be the contents of the HOME environment variable. If no user home exists, a suitable temporary directory is found. ggGetUserDir is threadsafe, but is not guaranteed to be safe to use in a thread that may be cancelled during its execution. It is also not guaranteed to be safe to use in special contexts such as LibGG task handlers, signal handlers and asyncronous procedure calls.
RETURN VALUE
ggGetUserDir returns a NULL-terminated string holding the path the the current user home directory. This string may be a reference to mem- ory belonging to OS facilities, and *must not* be freed or altered. libgg-1.0.x 2005-08-26 ggGetUserDir(3)
Related Man Pages
ggcleanupforceexit(3) - debian
ggregistercleanup(3) - debian
gguslumber(3) - debian
ggtrylock(3) - debian
ggunlock(3) - debian
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
Is UNIX an open source OS ?
Find columns in a file based on header and print to new file
A (ksh) Library For and From UNIX.com
New UNIX and Linux History Sections