Remove the (incorrect) note about inconsistent return values. Name the exit
code as EXIT_FAILURE instead of integer 1.
This commit is contained in:
parent
413ef23a32
commit
061351141b
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue