minix/lib/posix/_tcdrain.c

17 lines
226 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
/*
posix/_tcdrain.c
Created: July 26, 1994 by Philip Homburg
*/
#define tcdrain _tcdrain
#define ioctl _ioctl
#include <termios.h>
#include <sys/ioctl.h>
int tcdrain(fd)
int fd;
{
return(ioctl(fd, TCDRAIN, (void *)0));
}