[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Sleep miliseconds
- From: Tony Finch <dot@...>
- Date: Tue, 16 Aug 2011 11:17:24 +0100
Peter Harris <email@example.com> wrote:
> Because POSIX allows usleep to return EINVAL if the argument is >=
> 1e6, and some OSs are silly enough to actually enforce this limit (eg.
Yow. I note that usleep() has been removed from POSIX 2008
and that POSIX 2004 recommends nanosleep() instead.
f.anthony.n.finch <firstname.lastname@example.org> http://dotat.at/
East Sole, Lundy, Fastnet: Southwesterly, veering northeasterly 4 or 5,
occasionally 6 at first, becoming variable 3 for a time. Moderate or rough.
Occasional rain, fair for a time. Good, occasionally poor.