summaryrefslogtreecommitdiff
path: root/modules/isatty
blob: fc5d5c3ddbde1a09abbf2fdd8e776b97efbc70c5 (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
28
29
30
Description:
Test whether a file descriptor is a terminal.

Files:
lib/isatty.c
m4/isatty.m4

Depends-on:
unistd
msvc-inval      [test $REPLACE_ISATTY = 1]
msvc-nothrow    [test $REPLACE_ISATTY = 1]

configure.ac:
gl_FUNC_ISATTY
if test $REPLACE_ISATTY = 1; then
  AC_LIBOBJ([isatty])
  gl_PREREQ_ISATTY
fi
gl_UNISTD_MODULE_INDICATOR([isatty])

Makefile.am:

Include:
<unistd.h>

License:
LGPLv2+

Maintainer:
all