pub unsafe extern "C" fn tr_sys_dir_create_temp(
    path_template: *mut c_char,
    error: *mut *mut tr_error
) -> u8
Expand description

@brief Portability wrapper for mkdtemp ().

@param[in,out] path_template Template path to directory. Should end with at least six ‘X’ characters. Upon success, trailing ‘X’ characters are replaced with actual random characters used to form a unique path to temporary directory. @param[out] error Pointer to error object. Optional, pass NULL if you are not interested in error details.

@return True on success, false otherwise (with error set accordingly).