Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Oct 2010 18:30:49 +0000 (UTC)
From:      Benedict Reuschling <bcr@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r214148 - head/lib/libc/stdlib
Message-ID:  <201010211830.o9LIUnYA099338@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bcr (doc committer)
Date: Thu Oct 21 18:30:48 2010
New Revision: 214148
URL: http://svn.freebsd.org/changeset/base/214148

Log:
  Document strtonum()s behavior of setting errno to 0 when no error is found.
  
  PR:             docs/143330
  Submitted by:   Efstratios Karatzas (gpf dot kira at gmail dot com)
  Discussed with: ru@
  MFC after:      7 days

Modified:
  head/lib/libc/stdlib/strtonum.3

Modified: head/lib/libc/stdlib/strtonum.3
==============================================================================
--- head/lib/libc/stdlib/strtonum.3	Thu Oct 21 18:21:19 2010	(r214147)
+++ head/lib/libc/stdlib/strtonum.3	Thu Oct 21 18:30:48 2010	(r214148)
@@ -83,6 +83,8 @@ is set, and
 .Fa errstr
 will point to an error message.
 On success,
+.Va errno
+is set to 0 and
 .Fa *errstr
 will be set to
 .Dv NULL ;



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