On Tue, Oct 24, 2006 at 08:37:42AM +0100, Bob Dunlop wrote: > Well this one I can answer. A simple milli-second sleep routine:
[..snip C code..] On Tue, Oct 24, 2006 at 09:24:38AM -0500, Douglas E. Engert wrote: > Andreas Jellinghaus wrote: > >sleep 1 as it is the easiest solution. (100ms would be fine too, but I > >know no tool to do sub second sleeps...) > > usleep does microseconds. This is what wait_for_sys() uses in > udev_rules.c There is also nanosleep. These are all C function calls that can't easily be accessed from shell scripts. Possibly through perl or python, but that's not very neat. Neither is including a separate binary for it. :\ //Peter _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel