new_tmp_dir_async
Description:
[ Version ( since = "2.74" ) ]
public static async File new_tmp_dir_async (string? tmpl, int io_priority = DEFAULT, Cancellable? cancellable = null) throws Error
public static async File new_tmp_dir_async (string? tmpl, int io_priority = DEFAULT, Cancellable? cancellable = null) throws Error
Asynchronously creates a directory in the preferred directory for temporary files (as returned by get_tmp_dir) as make_tmp.
tmpl should be a string in the GLib file name encoding containing a sequence of six 'X' characters, and containing no directory
components. If it is null, a default template is used.
Parameters:
| tmpl |
Template for the file name, as in make_tmp, or null for a default template |
| io_priority |
the I/O priority of the request |
| cancellable |
optional Cancellable object, null to ignore |
| callback |
a TaskReadyCallback to call when the request is done |
| user_data |
data to pass to |