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

/freebsd-13-stable/sys/dev/snp/
H A Dsnp.c111 struct tty *snp_tty; /* (r) TTY we're snooping. */ member in struct:snp_softc
123 tp = ss->snp_tty;
166 tp = ss->snp_tty;
206 tp = ss->snp_tty;
255 if (ss->snp_tty != NULL) {
262 error = ttyhook_register(&ss->snp_tty, td->td_proc,
269 tp = ss->snp_tty;
277 if (ss->snp_tty == NULL)
280 *(dev_t *)data = tty_udev(ss->snp_tty);
283 if (ss->snp_tty
[all...]
/freebsd-13-stable/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 52 milliseconds