Small doc additions.

This commit is contained in:
Matthias Clasen
2003-07-30 19:00:36 +00:00
parent beca86c32b
commit b3814b0cdc
9 changed files with 40 additions and 4 deletions

View File

@@ -609,6 +609,16 @@ g_get_current_dir (void)
return dir;
}
/**
* g_getenv:
* @variable: the environment variable to get.
*
* Returns an environment variable.
*
* Return value: the value of the environment variable, or %NULL if the environment
* variable is not found. The returned string may be overwritten by the next call to g_getenv(),
* g_setenv() or g_unsetenv().
**/
G_CONST_RETURN gchar*
g_getenv (const gchar *variable)
{