Source-Changes-HG archive

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

[src/trunk]: src/lib/libkvm Document KERN_PROC_TTY_NODEV and KERN_PROC_TTY_RE...



details:   https://anonhg.NetBSD.org/src/rev/a45e5eefa03c
branches:  trunk
changeset: 484932:a45e5eefa03c
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sat Apr 15 04:38:47 2000 +0000

description:
Document KERN_PROC_TTY_NODEV and KERN_PROC_TTY_REVOKE.

diffstat:

 lib/libkvm/kvm_getprocs.3 |  16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 863f2134b7ef -r a45e5eefa03c lib/libkvm/kvm_getprocs.3
--- a/lib/libkvm/kvm_getprocs.3 Sat Apr 15 04:38:07 2000 +0000
+++ b/lib/libkvm/kvm_getprocs.3 Sat Apr 15 04:38:47 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: kvm_getprocs.3,v 1.5 1999/07/02 15:28:50 simonb Exp $
+.\"    $NetBSD: kvm_getprocs.3,v 1.6 2000/04/15 04:38:47 simonb Exp $
 .\"
 .\" Copyright (c) 1992, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -103,6 +103,20 @@
 .Fn kvm_close
 will overwrite this storage.
 .Pp
+If the
+.Fa op
+argument for
+.Fn kvm_getprocs
+is
+.Sy KERN_PROC_TTY ,
+.Fa arg
+can also be
+.Sy KERN_PROC_TTY_NODEV
+to select processes with no controlling tty and
+.Sy KERN_PROC_TTY_REVOKE
+to select processes which have had their controlling tty
+revoked.
+.Pp
 .Fn kvm_getargv
 returns a null-terminated argument vector that corresponds to the
 command line arguments passed to process indicated by



Home | Main Index | Thread Index | Old Index