Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/rt-thread
/ restore_stty
Function
restore_stty
bsp/simulator/drivers/uart_console.c:109–113 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
107
}
108
109
void restore_stty(void)
110
{
111
/* recover terminal's attribute */
112
tcsetattr(STDIN_FILENO, TCSANOW, &oldt);
113
}
114
115
#define getch getchar
116
static void * ThreadforKeyGet(void * lpParam)
Callers
1
rt_hw_exit
Function · 0.85
Calls
1
tcsetattr
Function · 0.85
Tested by
no test coverage detected