Module Name:    src
Committed By:   jruoho
Date:           Sat May  1 08:30:00 UTC 2010

Modified Files:
        src/lib/libc/stdlib: strsuftoll.3

Log Message:
Remove the (incorrect) note about inconsistent return values. Name the exit
code as EXIT_FAILURE instead of integer 1.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/stdlib/strsuftoll.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/stdlib/strsuftoll.3
diff -u src/lib/libc/stdlib/strsuftoll.3:1.8 src/lib/libc/stdlib/strsuftoll.3:1.9
--- src/lib/libc/stdlib/strsuftoll.3:1.8	Sat May  1 08:12:30 2010
+++ src/lib/libc/stdlib/strsuftoll.3	Sat May  1 08:30:00 2010
@@ -1,4 +1,4 @@
-.\"	$NetBSD: strsuftoll.3,v 1.8 2010/05/01 08:12:30 jruoho Exp $
+.\"	$NetBSD: strsuftoll.3,v 1.9 2010/05/01 08:30:00 jruoho Exp $
 .\"
 .\" Copyright (c) 2002,2007 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -106,7 +106,8 @@
 unless the value overflows or is not a number;
 in the latter case,
 .Fn strsuftoll
-displays an error message and terminates the process with exit code 1,
+displays an error message and terminates the process with exit code
+.Dv EXIT_FAILURE ,
 and
 .Fn strsuftollx
 returns with 0 and
@@ -134,8 +135,6 @@
 .Dv NULL ,
 pointers.
 .It
-The return values are inconsistent.
-.It
 The
 .Fn strsuftollx
 function is prone to buffer overflows if used incorrectly.

Reply via email to