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

Function pts_kqops_write_detach

freebsd/kern/tty_pts.c:473–481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471}
472
473static void
474pts_kqops_write_detach(struct knote *kn)
475{
476 struct file *fp = kn->kn_fp;
477 struct tty *tp = fp->f_data;
478 struct pts_softc *psc = tty_softc(tp);
479
480 knlist_remove(&psc->pts_inpoll.si_note, kn, 0);
481}
482
483static int
484pts_kqops_write_event(struct knote *kn, long hint)

Callers

nothing calls this directly

Calls 1

knlist_removeFunction · 0.85

Tested by

no test coverage detected