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

Function pts_kqops_read_detach

freebsd/kern/tty_pts.c:447–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

445 */
446
447static void
448pts_kqops_read_detach(struct knote *kn)
449{
450 struct file *fp = kn->kn_fp;
451 struct tty *tp = fp->f_data;
452 struct pts_softc *psc = tty_softc(tp);
453
454 knlist_remove(&psc->pts_outpoll.si_note, kn, 0);
455}
456
457static int
458pts_kqops_read_event(struct knote *kn, long hint)

Callers

nothing calls this directly

Calls 1

knlist_removeFunction · 0.85

Tested by

no test coverage detected