Return to sys_bsd.c CVS log | Up to [local] / src / usr.bin / telnet |
version 1.6, 1998/12/28 11:13:51 | version 1.7, 1999/05/07 18:29:07 | ||
---|---|---|---|
|
|
||
TerminalFlushOutput() | TerminalFlushOutput() | ||
{ | { | ||
#ifdef TIOCFLUSH | #ifdef TIOCFLUSH | ||
(void) ioctl(fileno(stdout), TIOCFLUSH, (char *) 0); | int com = FWRITE; | ||
(void) ioctl(fileno(stdout), TIOCFLUSH, (int *) &com); | |||
#else | #else | ||
(void) ioctl(fileno(stdout), TCFLSH, (char *) 0); | (void) ioctl(fileno(stdout), TCFLSH, (int *) 0); | ||
#endif | #endif | ||
} | } | ||