Function
Birbenv_append
since: 0.3
Declaration [src]
gboolean
birb_env_append (
const char* variable,
const char* value,
const char* separator
)
Description [src]
Appends a value to an environment variable with the given separator.
This is meant to be used to add an addition value to a multi-value
environment variable like PATH, GI_TYPELIB_PATH, etc
See the documentation for g_setenv() for potential issues with this function.
Available since: 0.3
Parameters
variable-
Type:
const char*The variable to append to.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. value-
Type:
const char*The value to append.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. separator-
Type:
const char*The separator to use.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.