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

Function ttyhook_defrint

freebsd/kern/tty.c:2066–2074  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2064 */
2065
2066static int
2067ttyhook_defrint(struct tty *tp, char c, int flags)
2068{
2069
2070 if (ttyhook_rint_bypass(tp, &c, 1) != 1)
2071 return (-1);
2072
2073 return (0);
2074}
2075
2076int
2077ttyhook_register(struct tty **rtp, struct proc *p, int fd, struct ttyhook *th,

Callers

nothing calls this directly

Calls 1

ttyhook_rint_bypassFunction · 0.85

Tested by

no test coverage detected