summaryrefslogtreecommitdiffstats
path: root/share/man/man4/snp.4
diff options
context:
space:
mode:
authorschweikh <schweikh@FreeBSD.org>2002-07-31 09:32:22 +0000
committerschweikh <schweikh@FreeBSD.org>2002-07-31 09:32:22 +0000
commitd256c7e0af433a55dce2687fc789235d6009593a (patch)
tree77e9efbfac2051fe72dd7b9656f760ef221c8e0e /share/man/man4/snp.4
parent933eab6fca36a5c8b7209682d3ac3604dec545a1 (diff)
downloadFreeBSD-src-d256c7e0af433a55dce2687fc789235d6009593a.zip
FreeBSD-src-d256c7e0af433a55dce2687fc789235d6009593a.tar.gz
Correct a few grammar bogons.
MFC after: 3 days
Diffstat (limited to 'share/man/man4/snp.4')
-rw-r--r--share/man/man4/snp.49
1 files changed, 4 insertions, 5 deletions
diff --git a/share/man/man4/snp.4 b/share/man/man4/snp.4
index 3b8c30f..42aab41 100644
--- a/share/man/man4/snp.4
+++ b/share/man/man4/snp.4
@@ -16,7 +16,7 @@
.Ft int
.Fn ioctl fd FIONREAD &result
.Sh DESCRIPTION
-/dev/snp? are snoop devices which allow user to attach to any tty
+/dev/snp? are snoop devices which allow users to attach to any tty
and watch activities on it.
The kernel must be compiled with
.Cd "device snp" ,
@@ -27,13 +27,12 @@ for these devices to be available.
.Pp
To associate a given
.Nm
-device with a tty to be observed, open the
+device with a tty to be observed, open the
.Nm
device and then use the SNPSTTY ioctl.
-The argument passed to the IOCTL is the address of a variable of type
+The argument passed to the ioctl is the address of a variable of type
dev_t.
-By setting the value of the variable pointed to -1, the user may detach
-the snp device from a tty.
+To detach the snp device from a tty use a pointer to a value of (dev_t)-1.
.Pp
The SNPGTTY ioctl returns information about the current tty attached to
the open
OpenPOWER on IntegriCloud