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