Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2001 04:54:40 +0300
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        Bill Fenner <fenner@research.att.com>
Cc:        cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/lib/libc/stdlib atof.c atoi.c atol.3 atol.c atoll.c
Message-ID:  <20011227015438.GA78208@nagual.pp.ru>
In-Reply-To: <200112270141.RAA26445@windsor.research.att.com>
References:  <200112250410.fBP4Aon93041@freefall.freebsd.org> <20011225075729.GB10672@nagual.pp.ru> <200112270141.RAA26445@windsor.research.att.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 26, 2001 at 17:41:16 -0800, Bill Fenner wrote:
> 
> >   "The  functions  atof,  atoi,  atol, and atoll need not
> >   affect the value of  the  integer  expression  errno  on  an
> >   error.   If  the  value of the result cannot be represented,
> 
> I would have read "need not" as "are not required to", i.e. they are
> permitted to.  Since they're also permitted not to, this change is
> also conformant.

I additionally check POSIX and SUSv2 in that area, both have

ERRORS
	No errors defined

section which means that no any errno producing allowed. As I believe, 
initially, when ato*() was not implemented via strto*() but use their own 
way, there was no errno changes in them.

-- 
Andrey A. Chernov
http://ache.pp.ru/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011227015438.GA78208>