Lines Matching refs:STDOUT
96 #define STDOUT 1
220 if (ioctl(STDOUT, TIOCGETP, &old_settings) == -1)
226 if (ioctl(STDOUT, TCGETA, &old_settings) == -1)
232 if (tcgetattr(STDOUT, &old_settings) == -1)
244 if (ioctl(STDOUT, TIOCGETP, &old_settings) != -1)
252 (void) ioctl(STDOUT, TIOCSETP, &new_settings);
260 (void) ioctl(STDOUT, TIOCLGET, &old_lword);
264 (void) ioctl(STDOUT, TIOCLSET, &new_lword);
274 if (ioctl(STDOUT, TCGETA, &old_settings) != -1)
284 (void) ioctl(STDOUT, TCSETA, &new_settings);
298 if (tcgetattr(STDOUT, &old_settings) != -1)
308 (void) tcsetattr(STDOUT, TCSADRAIN, &new_settings);
345 (void) ioctl(STDOUT, TIOCSETP, &old_settings);
347 (void) ioctl(STDOUT, TIOCLSET, &old_lword);
351 (void) ioctl(STDOUT, TCSETA, &old_settings);
354 (void) tcsetattr(STDOUT, TCSADRAIN, &old_settings);
366 (void) ioctl(STDOUT, TIOCSETP, &new_settings);
368 (void) ioctl(STDOUT, TIOCLSET, &new_lword);
372 (void) ioctl(STDOUT, TCSETA, &new_settings);
375 (void) tcsetattr(STDOUT, TCSADRAIN, &new_settings);