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

Function priv_check

components/lwp/terminal/bsd_porting.h:329–332  ·  view source on GitHub ↗

privileges checking: 0 if okay */

Source from the content-addressed store, hash-verified

327
328/* privileges checking: 0 if okay */
329rt_inline int priv_check(struct rt_thread *td, int priv)
330{
331 return 0;
332}
333
334/* Disable console redirection to a tty. */
335rt_inline int constty_clear(struct lwp_tty *tp)

Callers 2

ttydev_openFunction · 0.85
tty_generic_ioctlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected