-
sleep in milliseconds.
Hi,
Iam working on a project in LINUX and i require my program to go into sleep for 100ms or 200ms but sleep() takes only seconds as argumuments. Is there a way?? If there are no inbulit functions is there a way to count in milliseconds??Plz help.
Also can u tell me wat C functions are used in writing data to the USB ports of linux machines?? Thx in advance.
Sam.
-
Code:
usleep( 100000 ); /* Sleep 100000 micro seconds = 100 ms, etc. */
One link:
http://www.opengroup.org/onlinepubs/...sh/usleep.html
-