1
0
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:
Maxim Konovalov 2006-12-03 08:22:36 +00:00
parent c5da377e0e
commit 88ce725781
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164847

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,