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

Function ttydevsw_open

components/lwp/terminal/terminal.h:297–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295rt_err_t lwp_console_register_backend(struct rt_device *bakdev, int prio);
296
297rt_inline int ttydevsw_open(struct lwp_tty *tp)
298{
299 tty_assert_locked(tp);
300 MPASS(!tty_gone(tp));
301
302 return (tp->t_devsw->tsw_open(tp));
303}
304
305rt_inline void ttydevsw_close(struct lwp_tty *tp)
306{

Callers 1

ttydev_openFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected