makeTmp

fun makeTmp(tmpl: String? = null): <Error class: unknown class><String>

Creates a subdirectory in the preferred directory for temporary files (as returned by g_get_tmp_dir()).

Return

The actual name used. This string should be freed with g_free() when not needed any longer and is is in the GLib file name encoding. In case of errors, null is returned and @error will be set.

Since

2.30

Parameters

tmpl

Template for directory name, as in g_mkdtemp(), basename only, or null for a default template