]> git.saurik.com Git - apple/libc.git/blobdiff - gen/confstr.3
Libc-594.9.4.tar.gz
[apple/libc.git] / gen / confstr.3
index ccecf7e671b6d9aeceef2fcc8e4d7f7a1eae6e6f..b207ecfb9b5c6c5e3d84ac339f0e647a1ad4361d 100644 (file)
@@ -93,7 +93,7 @@ environment variable that finds all the standard utilities.
 .Sh RETURN VALUES
 If the call to
 .Fn confstr
 .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,
 .Va errno
 is set appropriately.
 Otherwise, if the variable does not have a configuration defined value,
@@ -124,6 +124,12 @@ The value of the
 .Fa name
 argument is invalid.
 .El
 .Fa name
 argument is invalid.
 .El
+.Sh LEGACY ERRORS
+If the call to
+.Fn confstr
+is not successful, \-1 (rather than 0) is returned and
+.Va errno
+is set appropriately.
 .Sh SEE ALSO
 .Xr getconf 1 ,
 .Xr pathconf 2 ,
 .Sh SEE ALSO
 .Xr getconf 1 ,
 .Xr pathconf 2 ,