Re: usleep
On Thu, Apr 07, 2005 at 10:17:46AM +0300, abraham shapirus wrote:
> EY> > некоторым сюрпризом после редхета явилось, что в дебиане нет программы
> EY> > usleep, которая занимается тем, что делает usleep(atoi(argv[1])); и
> EY> > выходит. пришлось писать свое такое.
> EY> >
> EY> а просто sleep ?
> он не умеет спать меньше секунды.
SLEEP(1) User Commands
SLEEP(1)
NAME
sleep - delay for a specified amount of time
SYNOPSIS
sleep NUMBER[SUFFIX]...
sleep OPTION
DESCRIPTION
Pause for NUMBER seconds. SUFFIX may be `s' for seconds (the default),
`m' for minutes, `h' for hours or `d' for days. Unlike most implemen-
tations that require NUMBER be an integer, here NUMBER may be an arbi-
trary floating point number.
^^^^^^^^^^^^^^^^^^^^^
--
Stanislav
Reply to:
- Follow-Ups:
- Re: usleep
- From: abraham shapirus <shapirus@gala.net>
- References:
- usleep
- From: abraham shapirus <shapirus@gala.net>
- Re: usleep
- From: Evgeny Yurkin <yurkin@sibvaleo.com>
- Re: usleep
- From: abraham shapirus <shapirus@gala.net>