From: Imre Vadasz Date: Tue, 20 Jan 2015 22:27:48 +0000 (+0100) Subject: sysctl.3: Fix documentation of KERN_FILE. X-Git-Tag: v4.2.0rc~1031 X-Git-Url: https://gitweb.dragonflybsd.org/~tuxillo/dragonfly.git/commitdiff_plain/a42f47d153df142b0d57a837026171fd54170a79 sysctl.3: Fix documentation of KERN_FILE. --- diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3 index 15a5903340..b71ce51d9c 100644 --- a/lib/libc/gen/sysctl.3 +++ b/lib/libc/gen/sysctl.3 @@ -356,7 +356,7 @@ information. .It Dv KERN_BOOTFILE Ta "string" Ta "yes" .It Dv KERN_BOOTTIME Ta "struct timeval" Ta "no" .It Dv KERN_CLOCKRATE Ta "struct clockinfo" Ta "no" -.It Dv KERN_FILE Ta "struct file" Ta "no" +.It Dv KERN_FILE Ta "struct kinfo_file" Ta "no" .It Dv KERN_HOSTID Ta "integer" Ta "yes" .It Dv KERN_HOSTNAME Ta "string" Ta "yes" .It Dv KERN_JOB_CONTROL Ta "integer" Ta "no" @@ -400,10 +400,8 @@ This structure contains the clock, statistics clock and profiling clock frequencies, the number of micro-seconds per hz tick and the skew rate. .It Dv KERN_FILE Return the entire file table. -The returned data consists of a single -.Va struct filehead -followed by an array of -.Va struct file , +The returned data consists of an array of +.Va struct kinfo_file , whose size depends on the current number of such objects in the system. .It Dv KERN_HOSTID Get or set the host id.