mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-03 04:09:20 +02:00
[docs] Improve the g_get_user_cache_dir() docs
The retrieved directory is XDG_CACHE_HOME on UNIX platforms. Also mention the retrieved directory on Windows: CSIDL_INTERNET_CACHE.
This commit is contained in:
@@ -2167,7 +2167,13 @@ g_get_user_config_dir (void)
|
|||||||
*
|
*
|
||||||
* On UNIX platforms this is determined using the mechanisms described in
|
* On UNIX platforms this is determined using the mechanisms described in
|
||||||
* the <ulink url="http://www.freedesktop.org/Standards/basedir-spec">
|
* the <ulink url="http://www.freedesktop.org/Standards/basedir-spec">
|
||||||
* XDG Base Directory Specification</ulink>
|
* XDG Base Directory Specification</ulink>.
|
||||||
|
* In this case the directory retrieved will be XDG_CACHE_HOME.
|
||||||
|
*
|
||||||
|
* On Windows is the directory that serves as a common repository for
|
||||||
|
* temporary Internet files. A typical path is
|
||||||
|
* C:\Documents and Settings\username\Local Settings\Temporary Internet Files.
|
||||||
|
* See documentation for CSIDL_INTERNET_CACHE.
|
||||||
*
|
*
|
||||||
* Return value: a string owned by GLib that must not be modified
|
* Return value: a string owned by GLib that must not be modified
|
||||||
* or freed.
|
* or freed.
|
||||||
|
Reference in New Issue
Block a user