If path is absolute, it replaces the current path.
If path contains a directory separator, the buffer is extended by
as many elements the path provides.
On Windows, both forward slashes and backslashes are treated as
directory separators. On other platforms, G_DIR_SEPARATOR_S is the
only directory separator.
Extends the given path buffer with path.
If path is absolute, it replaces the current path.
If path contains a directory separator, the buffer is extended by as many elements the path provides.
On Windows, both forward slashes and backslashes are treated as directory separators. On other platforms, G_DIR_SEPARATOR_S is the only directory separator.