Function gnunet_sys::GNUNET_BIO_read_close[][src]

pub unsafe extern "C" fn GNUNET_BIO_read_close(
    h: *mut GNUNET_BIO_ReadHandle,
    emsg: *mut *mut c_char
) -> c_int

Close an open handle. Reports if any errors reading from the file were encountered.

@param h file handle @param emsg set to the error message @return #GNUNET_OK on success, #GNUNET_SYSERR otherwise