tcdrain
=======

POSIX specification:
 http://www.opengroup.org/onlinepubs/9699919799/functions/tcdrain.html

Gnulib module: ---

Portability problems fixed by Gnulib:

Portability problems not fixed by Gnulib:

  * This function is missing on some platforms: mingw.

  * On some platforms, tcdrain on a non-tty fails with errno set to EINVAL or, on MacOS X, also EOPNOTSUPP or ENODEV, rather than ENOTTY.