Function libnotcurses_sys::ffi::notcurses_get[][src]

pub unsafe extern "C" fn notcurses_get(
    n: *mut notcurses,
    ts: *const timespec,
    ni: *mut ncinput
) -> u32
Expand description

Read a UTF-32-encoded Unicode codepoint from input. This might only be part of a larger EGC. Provide a NULL ‘ts’ to block at length, and otherwise a timespec to bound blocking. Returns a single Unicode code point, or (uint32_t)-1 on error. ‘sigmask’ may be NULL. Returns 0 on a timeout. If an event is processed, the return value is the ‘id’ field from that event. ‘ni’ may be NULL.