Delay for a fraction of a second in C

Mike Khaw mkhaw at teknowledge-vaxc.ARPA
Sat Nov 5 05:32:44 AEST 1988


> On a Sun (and presumably under bsd 4.x as well) there's a usleep()
> function to sleep for a specified number of microseconds:

It's implemented using setitimer(2), so if you have the latter but not
usleep(3), you should be able to invent your own.

Mike Khaw
-- 
internet: mkhaw at teknowledge.arpa
uucp:	  {uunet|sun|ucbvax|decwrl|ames|hplabs}!mkhaw%teknowledge.arpa
hardcopy: Teknowledge Inc, 1850 Embarcadero Rd, POB 10119, Palo Alto, CA 94303



More information about the Comp.lang.c mailing list