Home
last modified time | relevance | path

Searched refs:consoleTermios (Results 1 – 2 of 2) sorted by relevance

/kernel/liteos_a/kernel/common/
Dconsole.c126 …(VOID)memcpy_s(termios, sizeof(struct termios), &consoleCB->consoleTermios, sizeof(struct termios)… in ConsoleTcGetAttr()
147 …(VOID)memcpy_s(&consoleCB->consoleTermios, sizeof(struct termios), termios, sizeof(struct termios)… in ConsoleTcSetAttr()
168 struct termios consoleTermios = {0}; in ConsoleCtrlCaptureLine() local
172 (VOID)ConsoleTcGetAttr(consoleCB->fd, &consoleTermios); in ConsoleCtrlCaptureLine()
173 consoleTermios.c_lflag |= ICANON | ECHO; in ConsoleCtrlCaptureLine()
174 (VOID)ConsoleTcSetAttr(consoleCB->fd, 0, &consoleTermios); in ConsoleCtrlCaptureLine()
182 struct termios consoleTermios = {0}; in ConsoleCtrlCaptureChar() local
186 (VOID)ConsoleTcGetAttr(consoleCB->fd, &consoleTermios); in ConsoleCtrlCaptureChar()
187 consoleTermios.c_lflag &= ~(ICANON | ECHO); in ConsoleCtrlCaptureChar()
188 (VOID)ConsoleTcSetAttr(consoleCB->fd, 0, &consoleTermios); in ConsoleCtrlCaptureChar()
[all …]
Dconsole.h100 struct termios consoleTermios; member