Searched refs:s_in_fd (Results 1 – 1 of 1) sorted by relevance
52 static int s_in_fd; variable58 static void restore_stdin_termios(void) { tcsetattr(s_in_fd, TCSAFLUSH, &original_stdin_termios); } in restore_stdin_termios()74 s_in_fd = dup(STDIN_FILENO); in otPlatUartEnable()82 if (isatty(s_in_fd)) in otPlatUartEnable()84 tcgetattr(s_in_fd, &original_stdin_termios); in otPlatUartEnable()94 if (isatty(s_in_fd)) in otPlatUartEnable()97 … otEXPECT_ACTION(tcgetattr(s_in_fd, &termios) == 0, perror("tcgetattr"); error = OT_ERROR_GENERIC); in otPlatUartEnable()117 …otEXPECT_ACTION(tcsetattr(s_in_fd, TCSANOW, &termios) == 0, perror("tcsetattr"); error = OT_ERROR_… in otPlatUartEnable()146 close(s_in_fd); in otPlatUartEnable()155 close(s_in_fd); in otPlatUartDisable()[all …]