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

Function tty_is_ctty

freebsd/kern/tty.c:414–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414static __inline int
415tty_is_ctty(struct tty *tp, struct proc *p)
416{
417
418 tty_assert_locked(tp);
419
420 return (p->p_session == tp->t_session && p->p_flag & P_CONTROLT);
421}
422
423int
424tty_wait_background(struct tty *tp, struct thread *td, int sig)

Callers 2

tty_wait_backgroundFunction · 0.85
tty_generic_ioctlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected