svn_io_file_create_empty

Function svn_io_file_create_empty 

Source
pub unsafe extern "C" fn svn_io_file_create_empty(
    file: *const c_char,
    scratch_pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Create an empty file at utf8-encoded path @a file.

@a file must not already exist. If an error occurs while closing the file, attempt to delete the file before returning the error.

Use @a scratch_pool for temporary allocations.

@since New in 1.9.