Function libnotcurses_sys::ffi::ncdirect_putegc [−][src]
pub unsafe extern "C" fn ncdirect_putegc(
nc: *mut ncdirect,
channels: u64,
utf8: *const c_char,
sbytes: *mut c_int
) -> c_int
Expand description
Output a single EGC (this might be several characters) from |utf8|, according to the channels |channels|. On success, the number of columns thought to have been used is returned, and if |sbytes| is not NULL, the number of bytes consumed will be written there.