Lines Matching refs:ch
51 ungetch(ch) in ungetch() argument
52 int ch; in ungetch()
57 __m_trace("ungetch(%d)", ch);
59 code = __xc_ungetc(ch, (WINDOW *) 0) == EOF ? ERR : OK;
69 __xc_ungetc(int ch, void *w) in __xc_ungetc() argument
74 PUSH(ch); in __xc_ungetc()
114 int ch, i, j, timeout; local
146 ch = fgetc(__m_screen->_if);
153 if ((w->_flags & W_USE_KEYPAD) && 0 <= ch && ch != EOF) {
171 if (ch == cur_term->_shell.c_cc[VERASE])
180 PUSH(ch);
182 while (node->ch != ch) {
206 if ((ch = fgetc(__m_screen->_if)) == EOF)
216 ch = __m_screen->_unget._stack[i];
219 __m_screen->_unget._stack[j] = ch;
223 ch = POP();
226 if ((__m_screen->_flags & S_ECHO) && 0 <= ch && ch != EOF) {
227 (void) waddch(w, ch);
231 return __m_return_int("wgetch", ch);