sleep() in MSC 5.1 ???
    Ole Frank Larsen 
    ofl at kos.rci.dk
       
    Tue May  8 18:30:33 AEST 1990
    
    
  
I, who normally writes UNIX programs, was writing a small MS-DOS program
yesterday. When I tried to compile it with MSC 5.1 there was an unresolved
external viz.: _sleep().
Looking in the manual I utterly failed to find any sleep(), wait(),
delay() or whatever this function may be called.
Is it possible that sleep() has not been implemented in the standard
libraries?
I could of course write one myself, but I would like to know whether
anyone has observed this before.
Another short question: How do you empty the keyboard buffer without
having to read all the keystrokes? I have tried fflush(stdin), but this
does not work.
Thank you in advance
-- 
Ole Frank Larsen.                       RC International, Denmark
ofl at rci.dk                              Hackers do it with fewer instructions
    
    
More information about the Comp.lang.c
mailing list