MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ttyhook_getc_inject

Function ttyhook_getc_inject

freebsd/sys/ttyhook.h:114–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114static __inline size_t
115ttyhook_getc_inject(struct tty *tp, void *buf, size_t len)
116{
117 tty_assert_locked(tp);
118 MPASS(!tty_gone(tp));
119
120 return tp->t_hook->th_getc_inject(tp, buf, len);
121}
122
123static __inline void
124ttyhook_getc_capture(struct tty *tp, const void *buf, size_t len)

Callers 1

ttydisc_getcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected