Function gnunet_sys::GNUNET_DISK_file_handle_size[][src]

pub unsafe extern "C" fn GNUNET_DISK_file_handle_size(
    fh: *mut GNUNET_DISK_FileHandle,
    size: *mut off_t
) -> GNUNET_GenericReturnValue

Get the size of an open file.

@param fh open file handle @param size where to write size of the file @return #GNUNET_OK on success, #GNUNET_SYSERR on error