notcurses_getvec

Function notcurses_getvec 

Source
pub unsafe extern "C" fn notcurses_getvec(
    n: *mut notcurses,
    ts: *const timespec,
    ni: *mut ncinput,
    vcount: c_int,
) -> c_int
Expand description

Acquire up to ‘vcount’ ncinputs at the vector ‘ni’. The number read will be returned, or -1 on error without any reads, 0 on timeout.