summaryrefslogtreecommitdiff
path: root/doc/posix-functions/isatty.texi
blob: d01f8e3a71c4f6387492d648f9fab1baf06658ad (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
26
27
@node isatty
@section @code{isatty}
@findex isatty

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

Gnulib module: isatty

Portability problems fixed by Gnulib:
@itemize
@item
This function is declared in a different header file (namely, @code{<io.h>})
on some platforms:
MSVC 14.
@item
On native Windows, this function also returns true for character devices such
as @file{NUL}.
@item
On native Windows, this function returns false for Cygwin consoles.
@item
This function crashes when invoked with invalid arguments on some platforms:
MSVC 14.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@end itemize