Re: boolean annoyance
- From: David Vallner <david@xxxxxxxxxxx>
- Date: Thu, 9 Feb 2006 10:50:01 +0900
Dňa Štvrtok 09 Február 2006 01:52 Logan Capaldo napísal:
On Feb 8, 2006, at 7:41 PM, Claudio Jeker wrote:
This is not correct. strtol(3) does not return 0 in case of an
sets errno to ERANGE and returns LONG_MAX or LONG_MIN.
The strtol(), strtoll(), strtoimax() and strtoq() functions
result of the conversion, unless the value would underflow or
***If no conversion could be performed, 0 is returned and the
able errno is set to EINVAL.*** If an overflow or underflow
is set to ERANGE and the function return value is clamped
the following table.
This made me smile and laugh and giggle. And also hover my hand on the button
that controls the "Do not feed the troll" sign, but I'm still more amused
Rule 1 of trolling: Never, ever be blatantly wrong about anything.
- Prev by Date: Re: Web Host
- Next by Date: Re: What's the difference between copying and sharing in closure?
- Previous by thread: Re: boolean annoyance
- Next by thread: Re: boolean annoyance