Loading...
gen/confstr.3 Libc-320 Libc-825.26
--- Libc/Libc-320/gen/confstr.3
+++ Libc/Libc-825.26/gen/confstr.3
@@ -93,7 +93,7 @@
 .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,
@@ -123,7 +123,18 @@
 The value of the
 .Fa name
 argument is invalid.
+.It Bq Er ENOMEM
+Insufficient storage space is available.
+.It Bq Er EIO
+I/O error communicating with
+.Xr opendirectoryd 8 .
 .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 ,