Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man7 Provide documentation for KERN_LWP.



details:   https://anonhg.NetBSD.org/src/rev/e047f338004f
branches:  trunk
changeset: 458657:e047f338004f
user:      maya <maya%NetBSD.org@localhost>
date:      Mon Aug 05 22:03:10 2019 +0000

description:
Provide documentation for KERN_LWP.

PR lib/20108

diffstat:

 share/man/man7/sysctl.7 |  12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r ab68c4eb1afe -r e047f338004f share/man/man7/sysctl.7
--- a/share/man/man7/sysctl.7   Mon Aug 05 17:36:42 2019 +0000
+++ b/share/man/man7/sysctl.7   Mon Aug 05 22:03:10 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: sysctl.7,v 1.139 2019/06/01 19:54:34 kamil Exp $
+.\"    $NetBSD: sysctl.7,v 1.140 2019/08/05 22:03:10 maya Exp $
 .\"
 .\" Copyright (c) 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"    @(#)sysctl.3    8.4 (Berkeley) 5/9/95
 .\"
-.Dd June 1, 2019
+.Dd August 6, 2019
 .Dt SYSCTL 7
 .Os
 .Sh NAME
@@ -308,6 +308,7 @@
 .It kern.labelsector   integer no
 .It kern.login_name_max        integer no
 .It kern.logsigexit    integer yes
+.It kern.lwp   struct kinfo_lwp        yes
 .It kern.mapped_files  integer no
 .It kern.maxfiles      integer yes
 .It kern.maxlwp        integer yes
@@ -727,6 +728,12 @@
 all process exits due to signals which create a
 .Xr core 5
 file, and whether the coredump was created.
+.It Li kern.lwp ( Dv KERN_LWP )
+Returns information about the current light-weight process.
+The
+.Sy kinfo_lwp
+structure is defined in
+.In sys/sysctl.h .
 .It Li kern.mapped_files ( Dv KERN_MAPPED_FILES )
 Returns 1 if the
 .St -p1003.1b-93
@@ -1347,7 +1354,6 @@
 .Vt struct vnode *
 followed by the vnode itself
 .Vt struct vnode .
-.\" XXX: Undocumented: kern.lwp: no children?
 .El
 .Ss The machdep.* subtree
 The set of variables defined is architecture dependent.



Home | Main Index | Thread Index | Old Index