Searched refs:snp_tty (Results 1 - 2 of 2) sorted by relevance

/freebsd-9.3-release/sys/dev/snp/
H A Dsnp.c107 struct tty *snp_tty; /* (r) TTY we're snooping. */ member in struct:snp_softc
119 tp = ss->snp_tty;
162 tp = ss->snp_tty;
202 tp = ss->snp_tty;
251 if (ss->snp_tty != NULL) {
258 error = ttyhook_register(&ss->snp_tty, td->td_proc,
265 tp = ss->snp_tty;
273 if (ss->snp_tty == NULL)
276 *(dev_t *)data = tty_udev(ss->snp_tty);
279 tp = ss->snp_tty;
[all...]
/freebsd-9.3-release/usr.sbin/watch/
H A Dwatch.c217 int snp_tty; local
219 snp_tty = open(dev_name, O_RDONLY | O_NONBLOCK);
220 if (snp_tty < 0)
222 if (ioctl(snp_io, SNPSTTY, &snp_tty) != 0)
224 close(snp_tty);

Completed in 56 milliseconds