mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164847
@ -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