Back to index

tetex-bin  3.0
Classes | Functions
tty_input.h File Reference

Go to the source code of this file.

Classes

struct  tty_input_data

Functions

 NCURSES_EXPORT (bool) _nc_tty_mouse_mask(mmask_t)
 NCURSES_EXPORT (int) _nc_tty_next_event(int)
 NCURSES_EXPORT (void) _nc_tty_flags_changed(void)

Function Documentation

Definition at line 37 of file charable.c.

{
    bool result;
#if HAVE_WCTOB
    result = (wctob(ch) == ch);
#else
    result = (_nc_to_char(ch) >= 0);
#endif
    return result;
}
NCURSES_EXPORT ( int  ) [read]

Definition at line 48 of file charable.c.

{
    int result;
#if HAVE_WCTOB
    result = wctob(ch);
#elif HAVE_WCTOMB
    char temp[MB_LEN_MAX];
    result = wctomb(temp, ch);
    if (strlen(temp) == 1)
       result = UChar(temp[0]);
    else
       result = -1;
#endif
    return result;
}

Here is the call graph for this function: