2000-09-04 03:23:49 +02:00
. \"
. \" %Id: snp.4,v 1.14 1998/03/12 07:30:18 charnier Exp %
2001-05-14 03:10:24 +02:00
. \" $FreeBSD$
2000-09-04 03:23:49 +02:00
. \"
.Dd February 24 , 1995
.Dt SNP 4
.Os FreeBSD
.Sh ̾<EFBFBD> <EFBFBD>
.Nm snp
.Nd tty ü<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 륤<EFBFBD> ե<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
.Sh <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
.Fd #include <sys/snoop.h>
.Ft int
.Fn ioctl fd SNPSTTY &dev
.Ft int
.Fn ioctl fd SNPGTTY &dev
.Ft int
.Fn ioctl fd FIONREAD &result
.Sh <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
/dev/snp? <20> ϥ桼<CFA5> <E6A1BC> <EFBFBD> <EFBFBD> Ǥ<EFBFBD> դ<EFBFBD> tty ü<> <C3BC> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ³<EFBFBD> <C2B3> <EFBFBD> Ƥ<EFBFBD> <C6A4> <EFBFBD> ü<EFBFBD> <C3BC> <EFBFBD> Ǥγ <C7A4> ư<EFBFBD> <C6B0> <EFBFBD> ƻ뤹<C6BB> 뤳<EFBFBD> Ȥ<EFBFBD>
<EFBFBD> <EFBFBD> ǽ<EFBFBD> ˤ<EFBFBD> <EFBFBD> 븡<EFBFBD> <EFBFBD> <EFBFBD> ѤΥ ǥХ <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ǥ<EFBFBD> <EFBFBD> <EFBFBD>
<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
.Nm snp
<EFBFBD> ǥХ <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ȴƻ뤹<EFBFB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D> <EFBFBD> <EFBFBD>
.Sh <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
.An Ugen J.S. Antsilevich Aq ugen@NetVision.net.il
.Sh <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
.Nm snp
<EFBFBD> ǥХ <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
.Fx 2 .1
<EFBFBD> ǽ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> Ƹ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ޤ<EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
. \" Translated by Tetsuro Furuya (<28> <> ë ůϺ) <ht5t-fry@asahi-net.or.jp>, Dec. 1999.
. \" ML Checked by Tetsuya Isaki (<28> <> <EFBFBD> <EFBFBD> ů<EFBFBD> <C5AF> ) <isaki@net.ipc.hiroshima-u.ac.jp>
. \" ML Checked by MORI Kouji (<28> <> <20> <> <EFBFBD> <EFBFBD> ) <moriko@hh.iij4u.or.jp>
. \" Final Checked by Kazuo Horikawa (<28> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> ͺ ) <k-horik@yk.rim.or.jp>