Function gnunet_sys::GNUNET_BIO_read [−][src]
pub unsafe extern "C" fn GNUNET_BIO_read(
h: *mut GNUNET_BIO_ReadHandle,
what: *const c_char,
result: *mut c_void,
len: usize
) -> c_int
Read some contents into a buffer.
@param h the IO handle to read from @param what describes what is being read (for error message creation) @param result the buffer to write the result to @param len the number of bytes to read @return #GNUNET_OK on success, #GNUNET_SYSERR on failure