mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 11:12:11 +01:00
gfileutils: Mention g_dir_make_tmp() in g_mkdtemp*() docs
https://bugzilla.gnome.org/show_bug.cgi?id=777493
This commit is contained in:
parent
4fbcd18bdf
commit
810a6eb1d6
@ -1365,6 +1365,10 @@ wrap_g_open (const gchar *filename,
|
||||
* in the GLib file name encoding. Most importantly, on Windows it
|
||||
* should be in UTF-8.
|
||||
*
|
||||
* If you are going to be creating a temporary directory inside the
|
||||
* directory returned by g_get_tmp_dir(), you might want to use
|
||||
* g_dir_make_tmp() instead.
|
||||
*
|
||||
* Returns: (nullable) (type filename): A pointer to @tmpl, which has been
|
||||
* modified to hold the directory name. In case of errors, %NULL is
|
||||
* returned, and %errno will be set.
|
||||
@ -1397,6 +1401,10 @@ g_mkdtemp_full (gchar *tmpl,
|
||||
* The string should be in the GLib file name encoding. Most importantly,
|
||||
* on Windows it should be in UTF-8.
|
||||
*
|
||||
* If you are going to be creating a temporary directory inside the
|
||||
* directory returned by g_get_tmp_dir(), you might want to use
|
||||
* g_dir_make_tmp() instead.
|
||||
*
|
||||
* Returns: (nullable) (type filename): A pointer to @tmpl, which has been
|
||||
* modified to hold the directory name. In case of errors, %NULL is
|
||||
* returned and %errno will be set.
|
||||
|
Loading…
x
Reference in New Issue
Block a user