pub unsafe extern "C" fn tr_sys_dir_create(
    path: *const c_char,
    flags: c_int,
    permissions: c_int,
    error: *mut *mut tr_error
) -> u8
Expand description

@brief Like mkdir (), but makes parent directories if needed.

@param[in] path Path to directory. @param[in] flags Combination of @ref tr_sys_dir_create_flags_t values. @param[in] permissions Permissions to create directory with. Not used on Windows. @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).