Lines Matching defs:tty
63 #include <sys/tty.h>
121 struct tty tty;
286 if (KREAD(kd, (u_long)sess.s_ttyp, &tty)) {
288 "can't read tty at %p", sess.s_ttyp);
291 if (tty.t_dev != NULL) {
292 if (KREAD(kd, (u_long)tty.t_dev, &t_cdev)) {
295 tty.t_dev);
304 if (tty.t_pgrp != NULL) {
305 if (KREAD(kd, (u_long)tty.t_pgrp, &pgrp)) {
308 tty.t_pgrp);
314 if (tty.t_session != NULL) {
315 if (KREAD(kd, (u_long)tty.t_session, &sess)) {
318 tty.t_session);