svn commit: r214148 - head/lib/libc/stdlib

Benedict Reuschling bcr at FreeBSD.org
Thu Oct 21 18:30:49 UTC 2010


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 ;


More information about the svn-src-all mailing list