TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 2.28
Gets the list of environment variables for the current process.
The list is null terminated and each item in the list is of the form 'NAME=VALUE'.
null
This is equivalent to direct access to the 'environ' global variable, except portable.
The return value is freshly allocated and it should be freed with g_strfreev() when it is no longer needed.
g_strfreev()
the list of environment variables
2.28
Gets the list of environment variables for the current process.
The list is
nullterminated and each item in the list is of the form 'NAME=VALUE'.This is equivalent to direct access to the 'environ' global variable, except portable.
The return value is freshly allocated and it should be freed with
g_strfreev()when it is no longer needed.