poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / tcflush.texi
blobbefde83e8c8527cafad9a9f133f064387d44ce88
1 @node tcflush
2 @section @code{tcflush}
3 @findex tcflush
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/tcflush.html}
7 Gnulib module: ---
9 Portability problems fixed by Gnulib:
10 @itemize
11 @end itemize
13 Portability problems not fixed by Gnulib:
14 @itemize
15 @item
16 This function is missing on some platforms:
17 mingw, MSVC 14, Android 4.4.
18 @item
19 On some platforms, @code{tcflush} of @code{TCIFLUSH} on a non-tty fails with
20 errno set to @code{EINVAL} rather than @code{ENOTTY}.
21 @item
22 On some platforms, @code{tcflush} of @code{TCOFLUSH} on a non-tty fails with
23 errno set to @code{EINVAL} or, on IRIX, also @code{ENOSYS}, or, on Mac OS X,
24 also @code{EOPNOTSUPP} or @code{ENODEV}, rather than @code{ENOTTY}.
25 @end itemize