diff options
author | maxim <maxim@FreeBSD.org> | 2006-12-03 08:22:36 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2006-12-03 08:22:36 +0000 |
commit | 520a9a218bf71319d6da0bc7558efd2ea8b37c45 (patch) | |
tree | dcd2fb231ff0eeb57f0aea6f0f799f449cc69c39 /lib/libc/gen | |
parent | 6aaa846335525e1003c7a8d7604017ff1eb19a65 (diff) | |
download | FreeBSD-src-520a9a218bf71319d6da0bc7558efd2ea8b37c45.zip FreeBSD-src-520a9a218bf71319d6da0bc7558efd2ea8b37c45.tar.gz |
o As POSIX requires confstr(3) returns zero on errors, not -1.
PR: misc/106234
Submitted by: Guy Harris
MFC after: 1 week
Diffstat (limited to 'lib/libc/gen')
-rw-r--r-- | lib/libc/gen/confstr.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/confstr.3 b/lib/libc/gen/confstr.3 index 6344059..ee31bd3 100644 --- a/lib/libc/gen/confstr.3 +++ b/lib/libc/gen/confstr.3 @@ -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, |