summaryrefslogtreecommitdiff
path: root/doc/posix-functions/tcflush.texi
blob: befde83e8c8527cafad9a9f133f064387d44ce88 (plain)
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
@node tcflush
@section @code{tcflush}
@findex tcflush

POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/tcflush.html}

Gnulib module: ---

Portability problems fixed by Gnulib:
@itemize
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
mingw, MSVC 14, Android 4.4.
@item
On some platforms, @code{tcflush} of @code{TCIFLUSH} on a non-tty fails with
errno set to @code{EINVAL} rather than @code{ENOTTY}.
@item
On some platforms, @code{tcflush} of @code{TCOFLUSH} on a non-tty fails with
errno set to @code{EINVAL} or, on IRIX, also @code{ENOSYS}, or, on Mac OS X,
also @code{EOPNOTSUPP} or @code{ENODEV}, rather than @code{ENOTTY}.
@end itemize