Lines Matching refs:tty
35 #error "can only be included through <sys/tty.h>"
38 struct tty;
45 typedef int th_rint_t(struct tty *tp, char c, int flags);
46 typedef size_t th_rint_bypass_t(struct tty *tp, const void *buf, size_t len);
47 typedef void th_rint_done_t(struct tty *tp);
48 typedef size_t th_rint_poll_t(struct tty *tp);
50 typedef size_t th_getc_inject_t(struct tty *tp, void *buf, size_t len);
51 typedef void th_getc_capture_t(struct tty *tp, const void *buf, size_t len);
52 typedef size_t th_getc_poll_t(struct tty *tp);
54 typedef void th_close_t(struct tty *tp);
71 int ttyhook_register(struct tty **, struct proc *, int,
73 void ttyhook_unregister(struct tty *);
79 ttyhook_rint(struct tty *tp, char c, int flags)
88 ttyhook_rint_bypass(struct tty *tp, const void *buf, size_t len)
97 ttyhook_rint_done(struct tty *tp)
106 ttyhook_rint_poll(struct tty *tp)
115 ttyhook_getc_inject(struct tty *tp, void *buf, size_t len)
124 ttyhook_getc_capture(struct tty *tp, const void *buf, size_t len)
133 ttyhook_getc_poll(struct tty *tp)
142 ttyhook_close(struct tty *tp)