repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
isblank() implementation.
[minix.git]
/
lib
/
libc
/
posix
/
_tcflush.c
blob
84a6663ced2d64ceb659d3cf052b7b583e2788ba
1
/* tcflush() - flush buffered characters Author: Kees J. Bot
2
* 13 Jan 1994
3
*/
4
#define tcflush _tcflush
5
#define ioctl _ioctl
6
#include <termios.h>
7
#include <sys/ioctl.h>
8
9
int
tcflush
(
int
fd
,
int
queue_selector
)
10
{
11
return
(
ioctl
(
fd
,
TCFLSH
, &
queue_selector
));
12
}