o As POSIX requires confstr(3) returns zero on errors, not -1.
PR: misc/106234 Submitted by: Guy Harris MFC after: 1 week
This commit is contained in:
parent
c5da377e0e
commit
88ce725781
@ -32,7 +32,7 @@
|
||||
.\" @(#)confstr.3 8.1 (Berkeley) 6/4/93
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd June 18, 2001
|
||||
.Dd December 3, 2006
|
||||
.Dt CONFSTR 3
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -92,7 +92,7 @@ environment variable that finds all the standard utilities.
|
||||
.Sh RETURN VALUES
|
||||
If the call to
|
||||
.Fn confstr
|
||||
is not successful, \-1 is returned and
|
||||
is not successful, 0 is returned and
|
||||
.Va errno
|
||||
is set appropriately.
|
||||
Otherwise, if the variable does not have a configuration defined value,
|
||||
|
Loading…
Reference in New Issue
Block a user