summaryrefslogtreecommitdiffstats
path: root/share/man/man4/snp.4
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-09-19 13:48:45 +0000
committerru <ru@FreeBSD.org>2005-09-19 13:48:45 +0000
commitdb795b2c7606fa5ffdcc900c11384e51ad99d8b1 (patch)
tree8062ddf49e66f6cc93932a7d6e93c8b57aadfe32 /share/man/man4/snp.4
parentc235110658b82d3add6a0ea46c53b60a0b73d467 (diff)
downloadFreeBSD-src-db795b2c7606fa5ffdcc900c11384e51ad99d8b1.zip
FreeBSD-src-db795b2c7606fa5ffdcc900c11384e51ad99d8b1.tar.gz
Restore the ability to detach from a tty via SIOCSTTY and document
recent changes in a manpage. Reviewed by: cognet
Diffstat (limited to 'share/man/man4/snp.4')
-rw-r--r--share/man/man4/snp.413
1 files changed, 8 insertions, 5 deletions
diff --git a/share/man/man4/snp.4 b/share/man/man4/snp.4
index 809d30b..df70cb2 100644
--- a/share/man/man4/snp.4
+++ b/share/man/man4/snp.4
@@ -1,7 +1,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 24, 1995
+.Dd September 18, 2005
.Dt SNP 4
.Os
.Sh NAME
@@ -30,17 +30,20 @@ To associate a given
.Nm
device with a tty to be observed, open the
.Nm
-device and then use the
+device and a tty device, and then issue the
.Dv SNPSTTY
-ioctl.
+ioctl on
+.Nm
+device.
The argument passed to the
.Xr ioctl 2
is the address of a variable of type
-.Vt udev_t .
+.Vt int ,
+holding the file descriptor of a tty device.
To detach the
.Nm
device from a tty use a pointer to a value of
-.Dv NODEV .
+\-1.
.Pp
The
.Dv SNPGTTY
OpenPOWER on IntegriCloud