svn_io_file_lock

Function svn_io_file_lock 

Source
pub unsafe extern "C" fn svn_io_file_lock(
    lock_file: *const c_char,
    exclusive: svn_boolean_t,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Lock file at @a lock_file. If @a exclusive is TRUE, obtain exclusive lock, otherwise obtain shared lock. Lock will be automatically released when @a pool is cleared or destroyed. Use @a pool for memory allocations.

@deprecated Provided for backward compatibility with the 1.0 API.