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

Function tty_rel_pgrp

freebsd/kern/tty.c:1170–1181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1168}
1169
1170void
1171tty_rel_pgrp(struct tty *tp, struct pgrp *pg)
1172{
1173
1174 MPASS(tp->t_sessioncnt > 0);
1175 tty_assert_locked(tp);
1176
1177 if (tp->t_pgrp == pg)
1178 tp->t_pgrp = NULL;
1179
1180 tty_unlock(tp);
1181}
1182
1183void
1184tty_rel_sess(struct tty *tp, struct session *sess)

Callers 1

pgdeleteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected