1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
/* * This file contains the RTEMS implementation of the POSIX API * routines tcdrain. * * $Id$ * */ #include <rtems.h> #if defined(RTEMS_NEWLIB) #include <sys/types.h> #include <sys/stat.h> #include <errno.h> #include <termios.h> #include "internal.h" #include "libio.h" int tcdrain(int fd) { return __rtems_ioctl(fd,RTEMS_IO_TCDRAIN,0); } #endif