sleep in milliseconds.
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.
usleep( 100000 ); /* Sleep 100000 micro seconds = 100 ms, etc. */