Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: strtod(3) sets errno upon success ?
On Sat 14 May 2011 at 00:32:58 +0200, Thomas Klausner wrote:
> I was recently told that one shouldn't check errno if the call was
> successful, because some called library function might have set it to
> a value that's irrelevant, since the call you did was successful.
Yes, and the manpage for errno describes that on the first page.
> Thomas
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- There's no point being grown-up if you
\X/ rhialto/at/xs4all.nl -- can't be childish sometimes. -The 4th Doctor
Home |
Main Index |
Thread Index |
Old Index