MCPcopy Create free account
hub / github.com/Kitware/CMake / wget_wch

Function wget_wch

Utilities/cmpdcurses/pdcurses/getch.c:539–556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

537
538#ifdef PDC_WIDE
539int wget_wch(WINDOW *win, wint_t *wch)
540{
541 int key;
542
543 PDC_LOG(("wget_wch() - called\n"));
544
545 if (!wch)
546 return ERR;
547
548 key = wgetch(win);
549
550 if (key == ERR)
551 return ERR;
552
553 *wch = key;
554
555 return SP->key_code ? KEY_CODE_YES : OK;
556}
557
558int get_wch(wint_t *wch)
559{

Callers 3

get_wchFunction · 0.85
mvget_wchFunction · 0.85
mvwget_wchFunction · 0.85

Calls 1

wgetchFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…