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:
Maxim Konovalov 2006-12-03 08:22:36 +00:00
parent c5da377e0e
commit 88ce725781

View File

@ -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,