minix/lib/posix/_tcdrain.c
2005-04-21 14:53:53 +00:00

16 lines
226 B
C
Executable file

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