MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / ttydisc_rint_done

Function ttydisc_rint_done

components/lwp/terminal/freebsd/tty_ttydisc.c:1333–1346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1331}
1332
1333void ttydisc_rint_done(struct lwp_tty *tp)
1334{
1335 tty_assert_locked(tp);
1336
1337#ifdef USING_BSD_HOOK
1338 if (ttyhook_hashook(tp, rint_done))
1339 ttyhook_rint_done(tp);
1340#endif
1341
1342 /* Wake up readers. */
1343 tty_wakeup(tp, FREAD);
1344 /* Wake up driver for echo. */
1345 ttydevsw_outwakeup(tp);
1346}
1347
1348size_t ttydisc_rint_poll(struct lwp_tty *tp)
1349{

Callers 3

ptsdev_writeFunction · 0.85
tty_generic_ioctlFunction · 0.85
_serial_ty_bypassFunction · 0.85

Calls 2

tty_wakeupFunction · 0.85
ttydevsw_outwakeupFunction · 0.85

Tested by

no test coverage detected