Searched refs:s_in_fd (Results 1 – 1 of 1) sorted by relevance
53 static int s_in_fd; variable59 static void restore_stdin_termios(void) { tcsetattr(s_in_fd, TCSAFLUSH, &original_stdin_termios); } in restore_stdin_termios()75 s_in_fd = dup(STDIN_FILENO); in otPlatUartEnable()83 if (isatty(s_in_fd)) in otPlatUartEnable()85 tcgetattr(s_in_fd, &original_stdin_termios); in otPlatUartEnable()95 if (isatty(s_in_fd)) in otPlatUartEnable()98 … otEXPECT_ACTION(tcgetattr(s_in_fd, &termios) == 0, perror("tcgetattr"); error = OT_ERROR_GENERIC); in otPlatUartEnable()118 …otEXPECT_ACTION(tcsetattr(s_in_fd, TCSANOW, &termios) == 0, perror("tcsetattr"); error = OT_ERROR_… in otPlatUartEnable()147 close(s_in_fd); in otPlatUartEnable()156 close(s_in_fd); in otPlatUartDisable()[all …]