Function gnunet_sys::GNUNET_DISK_file_write [−][src]
pub unsafe extern "C" fn GNUNET_DISK_file_write(
h: *const GNUNET_DISK_FileHandle,
buffer: *const c_void,
n: usize
) -> isize
Write a buffer to a file.
@param h handle to open file @param buffer the data to write @param n number of bytes to write @return number of bytes written on success, #GNUNET_SYSERR on error