[ Version ( since = "2.74" ) ]
public static async File new_tmp_async (string? tmpl, int io_priority = DEFAULT, Cancellable? cancellable = null, out FileIOStream iostream) throws Error
Asynchronously opens a file in the preferred directory for temporary files (as returned by get_tmp_dir) as new_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.
tmpl |
Template for the file name, as in open_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 |