pub type __io_write_fn = Option<unsafe extern "C" fn(__cookie: *mut c_void, __buf: *const c_char, __n: usize) -> __ssize_t>;Expand description
Write N bytes pointed to by BUF to COOKIE. Write all N bytes unless there is an error. Return number of bytes written. If there is an error, return 0 and do not write anything. If the file has been opened for append (__mode.__append set), then set the file pointer to the end of the file and then do the write; if not, just write at the current file pointer.
Aliased Type§
pub enum __io_write_fn {
None,
Some(unsafe extern "C" fn(*mut c_void, *const i8, usize) -> i64),
}