summaryrefslogtreecommitdiff
path: root/modules/isatty
blob: ca56ac55b111f3c173b67d6d3f3d2d92bd2956e3 (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:
Bruno Haible