/[LeafOK_CVS]/lbbs/src/io.c
ViewVC logotype

Diff of /lbbs/src/io.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.22 by sysadm, Sat May 10 02:14:46 2025 UTC Revision 1.23 by sysadm, Sat May 10 11:09:02 2025 UTC
# Line 241  int igetch_t(long int sec) Line 241  int igetch_t(long int sec)
241          do          do
242          {          {
243                  ch = igetch(0);                  ch = igetch(0);
244          } while ((ch == KEY_TIMEOUT || ch == 0xa) && (time(0) - t_begin < sec));          } while (ch == KEY_TIMEOUT && (time(0) - t_begin < sec));
245    
246          return ch;          return ch;
247  }  }


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1