Home
last modified time | relevance | path

Searched refs:readchar (Results 1 – 25 of 49) sorted by relevance

12

/netbsd-src/games/cribbage/
H A Dio.c65 static int readchar(void);
314 c = readchar(); in getuchar()
480 while ((c = readchar()) != '\n') in wait_for()
483 while (readchar() != ch) in wait_for()
492 readchar(void) in readchar() function
531 for (pos = 0; (c = readchar()) != '\n'; clrtoeol(), refresh()) { in get_line()
/netbsd-src/games/hack/
H A Dhack.tty.c300 while ((c = readchar()) != '\n') { in xwaitforspace()
324 while ((foo = readchar()) >= '0' && foo <= '9') in parse()
350 readchar(void) in readchar() function
H A Dhack.pager.c99 q = readchar(); in dowhatis()
121 if (readchar() == 'y') { in dowhatis()
361 while (((c = readchar()) != 'l') && (c != 's') && !strchr(quitchars, c)) in dohelp()
H A Dhack.do_name.c87 while ((c = readchar()) != '.') { in getpos()
224 switch (readchar()) { in ddocall()
H A Dhack.do_wear.c124 if (strchr(quitchars, (answer = readchar()))) in doremring()
287 if (strchr(quitchars, (answer = readchar()))) in dowearring()
H A Dhack.invent.c469 ilet = readchar(); in getobj()
476 ilet = readchar(); in getobj()
660 sym = readchar(); in askchain()
796 c = readchar(); in dotypeinv()
H A Dhack.u_init.c186 while (!strchr("ynYN \n\004", (exper = readchar()))) in u_init()
208 while ((pc = readchar()) != '\0') { in u_init()
H A Dhack.apply.c257 if (readchar() == 'y') in use_ice_box()
261 if (readchar() != 'y') in use_ice_box()
H A Dhack.cmd.c309 dirsym = readchar(); in getdir()
H A Dextern.h458 char readchar(void);
H A Dhack.eat.c183 if (readchar() == 'y') { in doeat()
H A Dhack.end.c100 if (readchar() != 'y') { in done1()
H A Dhack.c461 while (!strchr("ynaq ", (c = readchar()))) in pickup()
/netbsd-src/usr.bin/dc/
H A Dbcode.h68 int (*readchar)(struct source *); member
H A Dinout.c194 while ((ch = (*src->vtable->readchar)(src)) != EOF) { in readnumber()
247 while ((ch = (*src->vtable->readchar)(src)) != EOF) { in read_string()
H A Dbcode.c283 return src->vtable->readchar(src); in readch()
/netbsd-src/external/gpl3/gdb/dist/gdb/
H A DChangeLog-19971882 uses of SERIAL_READCHAR with readchar, which has better error
1885 (readchar): Improve doc. Handle random serial errors.
1887 serial error handling (it's now handled in readchar). Remove
1888 remote_debug echoing. That's handled in readchar as well.
1895 (gch): Remove debug output. That's handled by readchar.
H A DChangeLog-199532 (readchar): If MO_HANDLE_NL is set, handle \r\n pairs and convert
3502 * monitor.c (printf_monitor readchar): Use stderr instead of
3503 stdout to output debug info. Also cleanup readchar a little.
H A DChangeLog-19992480 * remote.c (readchar): When EOF mourn the inferior.
3659 (readchar): Re-enable output of characters read from monitor when
5399 (sds_interrupt, sds_wait, readchar, putmessage, read_frame,
5401 (store_register), xmodem.c (readchar), utils.c (puts_debug),
H A DChangeLog-19942258 * remote.c (read_frame): Split readchar/checksum calculation into
2970 * (readchar): Add timeout parameter. Handle SERIAL_EOF and
4646 * remote-hms.c (readchar, hms_open, hms_fetch_register): Made more robust.
/netbsd-src/external/gpl3/gdb.old/dist/gdb/
H A DChangeLog-19971882 uses of SERIAL_READCHAR with readchar, which has better error
1885 (readchar): Improve doc. Handle random serial errors.
1887 serial error handling (it's now handled in readchar). Remove
1888 remote_debug echoing. That's handled in readchar as well.
1895 (gch): Remove debug output. That's handled by readchar.
H A DChangeLog-199532 (readchar): If MO_HANDLE_NL is set, handle \r\n pairs and convert
3502 * monitor.c (printf_monitor readchar): Use stderr instead of
3503 stdout to output debug info. Also cleanup readchar a little.
H A DChangeLog-19992480 * remote.c (readchar): When EOF mourn the inferior.
3659 (readchar): Re-enable output of characters read from monitor when
5399 (sds_interrupt, sds_wait, readchar, putmessage, read_frame,
5401 (store_register), xmodem.c (readchar), utils.c (puts_debug),
H A DChangeLog-19942258 * remote.c (read_frame): Split readchar/checksum calculation into
2970 * (readchar): Add timeout parameter. Handle SERIAL_EOF and
4646 * remote-hms.c (readchar, hms_open, hms_fetch_register): Made more robust.
/netbsd-src/external/gpl3/gdb/dist/gdbserver/
H A DChangeLog-2002-20215978 * remote-utils.c (readchar): Remove unused variable.
8288 * remote-utils.c (putpkt_binary_1, readchar, getpkt): Use
18171 moved out of readchar.
18172 (readchar): Rewrite. Call reschedule before returning.
18304 * remote-utils.c (putpkt_binary_1): Call readchar instead of read.
20948 * remote-utils.c (readchar): Allow binary data in received messages.
21630 (putpkt_binary, input_interrupt, readchar, getpkt): Use read and
21777 (readchar, getpkt): Update for Winsock support.
21812 (readchar): Don't mask off the high bit.

12