From 061351141b8c414b6fb562f7f16fa3ab5dd3c831 Mon Sep 17 00:00:00 2001 From: jruoho Date: Sat, 1 May 2010 08:30:00 +0000 Subject: [PATCH] Remove the (incorrect) note about inconsistent return values. Name the exit code as EXIT_FAILURE instead of integer 1. --- lib/libc/stdlib/strsuftoll.3 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/libc/stdlib/strsuftoll.3 b/lib/libc/stdlib/strsuftoll.3 index ed070f4e8840..038b42aa6b11 100644 --- a/lib/libc/stdlib/strsuftoll.3 +++ b/lib/libc/stdlib/strsuftoll.3 @@ -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 @@ return either the result of the conversion, 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 @@ fail gracefully in case of invalid, .Dv NULL , pointers. .It -The return values are inconsistent. -.It The .Fn strsuftollx function is prone to buffer overflows if used incorrectly.