delay..

Abhijit Chaudhari abhijit at pyr.gatech.EDU
Tue Mar 7 15:14:02 AEST 1989


In article <21330 at shemp.CS.UCLA.EDU> aviz at CS.UCLA.EDU (Dr Algirdas Avizienis) writes:
>what is a C command that will do a delay(variable length)?

You can call the sleep(3C) function, which suspends execution of the current
process for a number of seconds (as specified in its argument). Unfortunately,
this cannot be used if timing is very critical (i.e. a variation of a few
milliseconds cannot be tolerated).


Abhijit Chaudhari
Georgia Insitute of Technology, Atlanta Georgia, 30332
uucp: ...!{akgua,allegra,amd,hplabs,ihnp4,seismo,ut-ngp}!gatech!gitpyr!abhijit
ARPA: abhijit at pyr.gatech.edu



More information about the Comp.unix.questions mailing list