On 01/24/2011 08:26 PM, Cathey, Jim wrote: >> sleep(1) isn't sleep for 1 second, it's sleep for 1 milisecond. > > Que? man 3 sleep > > SLEEP(3) Linux Programmer's Manual > SLEEP(3) > > NAME > sleep - Sleep for the specified number of seconds > > SYNOPSIS > #include <unistd.h> > > unsigned int sleep(unsigned int seconds); > > DESCRIPTION > sleep() makes the calling process sleep until seconds > seconds have > elapsed or a signal arrives which is not ignored. > > ... > >
Huh, you're right. My bad. (And usleep is in microseconds, so I apparently wasn't thinking of that, either. Weird.) Rob _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
