summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/sysconf.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/sysconf.3')
-rw-r--r--lib/libc/gen/sysconf.316
1 files changed, 9 insertions, 7 deletions
diff --git a/lib/libc/gen/sysconf.3 b/lib/libc/gen/sysconf.3
index 53622f6..aca1a432 100644
--- a/lib/libc/gen/sysconf.3
+++ b/lib/libc/gen/sysconf.3
@@ -64,11 +64,11 @@ The available values are as follows:
.Pp
.It Li _SC_ARG_MAX
The maximum bytes of argument to
-.Xr exec 2 .
+.Xr execve 2 .
.It Li _SC_CHILD_MAX
The maximum number of simultaneous processes per user id.
.It Li _SC_CLK_TCK
-Number of micro-seconds per hz tick.
+The frequency of the statistics clock in ticks per second.
.It Li _SC_NGROUPS_MAX
The maximum number of supplemental groups.
.It Li _SC_OPEN_MAX
@@ -145,7 +145,7 @@ otherwise \-1.
.El
.Sh RETURN VALUES
If the call to
-.Nm sysconf
+.Fn sysconf
is not successful, \-1 is returned and
.Va errno
is set appropriately.
@@ -174,11 +174,13 @@ The value for _SC_STREAM_MAX is a minimum maximum, and required to be
the same as ANSI C's FOPEN_MAX, so the returned value is a ridiculously
small and misleading number.
.Sh STANDARDS
-The
+Except for the fact that values returned by
.Fn sysconf
-function conforms to
+may change over the lifetime of the calling process,
+this function conforms to
.St -p1003.1-88 .
.Sh HISTORY
The
-.Nm sysconf
-function first appeared in 4.4BSD.
+.Fn sysconf
+function first appeared in
+.Bx 4.4 .
OpenPOWER on IntegriCloud