poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / isatty.texi
blobd01f8e3a71c4f6387492d648f9fab1baf06658ad
1 @node isatty
2 @section @code{isatty}
3 @findex isatty
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/isatty.html}
7 Gnulib module: isatty
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is declared in a different header file (namely, @code{<io.h>})
13 on some platforms:
14 MSVC 14.
15 @item
16 On native Windows, this function also returns true for character devices such
17 as @file{NUL}.
18 @item
19 On native Windows, this function returns false for Cygwin consoles.
20 @item
21 This function crashes when invoked with invalid arguments on some platforms:
22 MSVC 14.
23 @end itemize
25 Portability problems not fixed by Gnulib:
26 @itemize
27 @end itemize