<<On Wed, 13 Nov 2002 11:26:44 -0800 (PST), Nate Lawson <[EMAIL PROTECTED]> said:

> So "sleep -1" should sleep for ~0UL seconds?  And should usage() ever be
> called then?

Well, the standard says that anything might happen as a result of
`sleep -- -1'.  I'm just pointing out why the standard says so.
(This sort of thing is what is referred to in the standards jargon as
``quality of implementation'' -- the standard doesn't require an error
for this case, because doing so would require implementations to
partially reimplement strtoul() in the sleep utility, just to validate
the argument.  The standard does not prohibit an implementor from
going to this effort, however, and if you are already using strtod()
instead of strtoul(), there's no additional effort required.)

-GAWollman


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to