snp.4 (13744) | snp.4 (18715) |
---|---|
1.\" | 1.\" |
2.\" $Id: snp.4,v 1.6 1995/02/28 00:24:47 pst Exp $ | 2.\" $Id: snp.4,v 1.7 1996/01/30 13:51:11 mpp Exp $ |
3.\" $Source: /home/ncvs/src/share/man/man4/snp.4,v $ 4.\" 5.Dd February 24, 1995 6.Dt SNP 4 7.Os FreeBSD 8.Sh NAME 9.Nm snp 10.Nd tty snoop interface --- 12 unchanged lines hidden (view full) --- 23 24To associate a given 25.Nm snp 26device with a tty to be observed, open the 27.Nm snp 28device and then use the SNPSTTY ioctl. 29The argument passed to the IOCTL is the address of a variable of type 30dev_t. | 3.\" $Source: /home/ncvs/src/share/man/man4/snp.4,v $ 4.\" 5.Dd February 24, 1995 6.Dt SNP 4 7.Os FreeBSD 8.Sh NAME 9.Nm snp 10.Nd tty snoop interface --- 12 unchanged lines hidden (view full) --- 23 24To associate a given 25.Nm snp 26device with a tty to be observed, open the 27.Nm snp 28device and then use the SNPSTTY ioctl. 29The argument passed to the IOCTL is the address of a variable of type 30dev_t. |
31By setting the value of the variable pointed to to -1, the user may detach | 31By setting the value of the variable pointed to -1, the user may detach |
32the snp device from a tty. 33.Pp 34The SNPGTTY ioctl returns information about the current tty attached to 35the open 36.Nm snp 37device. 38.Pp 39The FIONREAD ioctl returns a positive value equal to the number of characters --- 28 unchanged lines hidden --- | 32the snp device from a tty. 33.Pp 34The SNPGTTY ioctl returns information about the current tty attached to 35the open 36.Nm snp 37device. 38.Pp 39The FIONREAD ioctl returns a positive value equal to the number of characters --- 28 unchanged lines hidden --- |