Mercurial > emacs
comparison src/keyboard.c @ 6891:065060f1f9b8
(read_avail_input): Fix comment delimiter.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Fri, 15 Apr 1994 20:44:17 +0000 |
parents | 1862df471cac |
children | b97b29f3ea7a |
comparison
equal
deleted
inserted
replaced
6890:7462c6006494 | 6891:065060f1f9b8 |
---|---|
3308 /* Determine how many characters we should *try* to read. */ | 3308 /* Determine how many characters we should *try* to read. */ |
3309 #ifdef MSDOS | 3309 #ifdef MSDOS |
3310 n_to_read = dos_keysns (); | 3310 n_to_read = dos_keysns (); |
3311 if (n_to_read == 0) | 3311 if (n_to_read == 0) |
3312 return 0; | 3312 return 0; |
3313 #else */ not MSDOS */ | 3313 #else /* not MSDOS */ |
3314 #ifdef FIONREAD | 3314 #ifdef FIONREAD |
3315 /* Find out how much input is available. */ | 3315 /* Find out how much input is available. */ |
3316 if (ioctl (0, FIONREAD, &n_to_read) < 0) | 3316 if (ioctl (0, FIONREAD, &n_to_read) < 0) |
3317 /* Formerly simply reported no input, but that sometimes led to | 3317 /* Formerly simply reported no input, but that sometimes led to |
3318 a failure of Emacs to terminate. | 3318 a failure of Emacs to terminate. |