Add g_get_environ(): portable access to 'environ'

Return a copy of 'environ' on platforms where that is possible, or do
something else on other platforms.
This commit is contained in:
Ryan Lortie
2010-10-28 21:26:09 -04:00
parent b4d3b6e0de
commit 29ce7385bb
4 changed files with 42 additions and 0 deletions

View File

@@ -1597,6 +1597,7 @@ g_get_application_name
g_set_application_name
g_get_prgname
g_set_prgname
g_get_environ
g_getenv
g_setenv
g_unsetenv