Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/stdlib Document that strtouq can return UQUAD_MAX.



details:   https://anonhg.NetBSD.org/src/rev/383edf886531
branches:  trunk
changeset: 749549:383edf886531
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Dec 02 12:45:35 2009 +0000

description:
Document that strtouq can return UQUAD_MAX.

diffstat:

 lib/libc/stdlib/strtoul.3 |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r ae2656f42e84 -r 383edf886531 lib/libc/stdlib/strtoul.3
--- a/lib/libc/stdlib/strtoul.3 Wed Dec 02 12:40:12 2009 +0000
+++ b/lib/libc/stdlib/strtoul.3 Wed Dec 02 12:45:35 2009 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: strtoul.3,v 1.23 2009/07/23 13:38:57 wiz Exp $
+.\"    $NetBSD: strtoul.3,v 1.24 2009/12/02 12:45:35 pooka Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -33,7 +33,7 @@
 .\"
 .\"     from: @(#)strtoul.3    8.1 (Berkeley) 6/4/93
 .\"
-.Dd July 23, 2009
+.Dd December 2, 2009
 .Dt STRTOUL 3
 .Os
 .Sh NAME
@@ -173,6 +173,9 @@
 .Fn strtoumax
 returns
 .Dv UINTMAX_MAX ,
+.Fn strtouq
+return
+.Dv UQUAD_MAX ,
 and the global variable
 .Va errno
 is set to



Home | Main Index | Thread Index | Old Index