Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2001 10:57:29 +0300
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        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:  <20011225075729.GB10672@nagual.pp.ru>
In-Reply-To: <200112250410.fBP4Aon93041@freefall.freebsd.org>
References:  <200112250410.fBP4Aon93041@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mon, Dec 24, 2001 at 20:10:50 -0800, Andrey A. Chernov wrote:
> ache        2001/12/24 20:10:50 PST
> 
>   Modified files:
>     lib/libc/stdlib      atof.c atoi.c atol.3 atol.c atoll.c 
>   Log:
>   Preserve errno.
>   
>   According to C99:
>   "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,

And POSIX says

ERRORS
	No errors are defined.

too.

-- 
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?20011225075729.GB10672>