summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/gen/sysctl.311
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index 2717b843788..33ac2a36350 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.3,v 1.194 2010/03/12 13:21:16 jmc Exp $
+.\" $OpenBSD: sysctl.3,v 1.195 2010/03/30 07:04:49 otto Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 12 2010 $
+.Dd $Mdocdate: March 30 2010 $
.Dt SYSCTL 3
.Os
.Sh NAME
@@ -753,6 +753,13 @@ in the argv or env array.
returns the argv array and
.Dv KERN_PROC_ENV
returns the environ array.
+The buffer pointed to by
+.Fa oldp
+is filled with an array of char pointers
+followed by the strings themselves.
+The last char pointer is a
+.Dv NULL
+pointer.
.It Dv KERN_PROF
Return profiling information about the kernel.
If the kernel is not compiled for profiling,