Parent Directory
|
Revision Log
|
Patch
| Revision 1.14 by sysadm, Mon Apr 28 03:30:59 2025 UTC | Revision 1.16 by sysadm, Wed Apr 30 09:18:19 2025 UTC | |
|---|---|---|
| # | Line 16 | Line 16 |
| 16 | ***************************************************************************/ | ***************************************************************************/ |
| 17 | ||
| 18 | #include "io.h" | #include "io.h" |
| 19 | #include "log.h" | |
| 20 | #include "common.h" | #include "common.h" |
| 21 | #include "tcplib.h" | #include "tcplib.h" |
| 22 | #include <stdio.h> | #include <stdio.h> |
| # | Line 227 int igetch_t(long int sec) | Line 228 int igetch_t(long int sec) |
| 228 | do | do |
| 229 | { | { |
| 230 | ch = igetch(); | ch = igetch(); |
| 231 | } while ((ch == KEY_TIMEOUT || ch == 0xa) && (time(0) - t_begin < sec)); | } while ((ch == KEY_TIMEOUT || ch == 0xa || ch == 0x0) && (time(0) - t_begin < sec)); |
| 232 | ||
| 233 | return ch; | return ch; |
| 234 | } | } |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |