Searched defs:keyboard (Results 1 - 2 of 2) sorted by relevance

/bind-9.6-ESV-R11/lib/isc/win32/
H A Dkeyboard.c18 /* $Id: keyboard.c,v 1.7 2007/06/19 23:47:19 tbox Exp $ */
34 #include <isc/keyboard.h>
38 isc_keyboard_open(isc_keyboard_t *keyboard) { argument
41 REQUIRE(keyboard != NULL);
47 keyboard->fd = fd;
49 keyboard->result = ISC_R_SUCCESS;
55 isc_keyboard_close(isc_keyboard_t *keyboard, unsigned int sleeptime) { argument
56 REQUIRE(keyboard != NULL);
58 if (sleeptime > 0 && keyboard->result != ISC_R_CANCELED)
61 keyboard
67 isc_keyboard_getchar(isc_keyboard_t *keyboard, unsigned char *cp) argument
86 isc_keyboard_canceled(isc_keyboard_t *keyboard) argument
[all...]
/bind-9.6-ESV-R11/lib/isc/unix/
H A Dkeyboard.c18 /* $Id: keyboard.c,v 1.13 2007/06/19 23:47:18 tbox Exp $ */
34 #include <isc/keyboard.h>
38 isc_keyboard_open(isc_keyboard_t *keyboard) { argument
43 REQUIRE(keyboard != NULL);
49 keyboard->fd = fd;
51 if (tcgetattr(fd, &keyboard->saved_mode) < 0) {
56 current_mode = keyboard->saved_mode;
72 keyboard->result = ISC_R_SUCCESS;
83 isc_keyboard_close(isc_keyboard_t *keyboard, unsigned int sleeptime) { argument
84 REQUIRE(keyboard !
98 isc_keyboard_getchar(isc_keyboard_t *keyboard, unsigned char *cp) argument
124 isc_keyboard_canceled(isc_keyboard_t *keyboard) argument
[all...]

Completed in 12 milliseconds