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
gginit(3) - debian
gglock(3) - debian
gguslumber(3) - debian
libgg(7) - debian
mojo::home(3pm) - debian
Similar Topics in the Unix Linux Community
How can I do this in VI editor?
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
My first PERL incarnation... Audio Oscillograph