summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorjruoho <jruoho@NetBSD.org>2010-05-01 08:35:52 +0000
committerjruoho <jruoho@NetBSD.org>2010-05-01 08:35:52 +0000
commit280488d6bcc1e90298eecf055d40bae24a35cf5d (patch)
treed60ea009fc64e724f88340546e991dd3ed11226d /lib/libc/stdlib
parent061351141b8c414b6fb562f7f16fa3ab5dd3c831 (diff)
Note that the return type sould arguably be intmax_t instead of long long.
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/strsuftoll.37
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/stdlib/strsuftoll.3 b/lib/libc/stdlib/strsuftoll.3
index 038b42aa6b1..43a6b8e6fee 100644
--- a/lib/libc/stdlib/strsuftoll.3
+++ b/lib/libc/stdlib/strsuftoll.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: strsuftoll.3,v 1.9 2010/05/01 08:30:00 jruoho Exp $
+.\" $NetBSD: strsuftoll.3,v 1.10 2010/05/01 08:35:52 jruoho Exp $
.\"
.\" Copyright (c) 2002,2007 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -135,6 +135,11 @@ fail gracefully in case of invalid,
.Dv NULL ,
pointers.
.It
+Arguably the return type should be
+.Vt intmax_t
+instead of
+.Vt long long .
+.It
The
.Fn strsuftollx
function is prone to buffer overflows if used incorrectly.