Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2001 20:10:50 -0800 (PST)
From:      "Andrey A. Chernov" <ache@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/stdlib atof.c atoi.c atol.3 atol.c atoll.c
Message-ID:  <200112250410.fBP4Aon93041@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,
  the behavior is undefined."
  
  Revision  Changes    Path
  1.2       +10 -2     src/lib/libc/stdlib/atof.c
  1.3       +9 -2      src/lib/libc/stdlib/atoi.c
  1.10      +7 -1      src/lib/libc/stdlib/atol.3
  1.2       +10 -2     src/lib/libc/stdlib/atol.c
  1.2       +8 -2      src/lib/libc/stdlib/atoll.c

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?200112250410.fBP4Aon93041>