Function transmission_sys::tr_sys_file_unmap
source · pub unsafe extern "C" fn tr_sys_file_unmap(
address: *const c_void,
size: u64,
error: *mut *mut tr_error
) -> u8
Expand description
@brief Portability wrapper for munmap ()
for files.
@param[in] address Pointer to mapped file data.
@param[in] size Size of mapped data in bytes.
@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).