Function transmission_sys::tr_sys_file_get_info
source · pub unsafe extern "C" fn tr_sys_file_get_info(
handle: tr_sys_file_t,
info: *mut tr_sys_path_info,
error: *mut *mut tr_error
) -> u8
Expand description
@brief Portability wrapper for fstat ()
.
@param[in] handle Valid file descriptor.
@param[out] info Result buffer.
@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).