minix/lib/posix/_tcdrain.c
2009-11-09 10:26:00 +00:00

16 lines
226 B
C

/*
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));
}