summaryrefslogtreecommitdiff
path: root/modules/ptsname_r
blob: 9cd57034041bfbfb92d3907f469c64c3cf5984f9 (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
31
32
Description:
ptsname_r() function: Determine name of the slave side of a pseudo-terminal.

Files:
lib/ptsname_r.c
m4/ptsname_r.m4

Depends-on:
stdlib
extensions
isatty          [test $HAVE_PTSNAME_R = 0 || test $REPLACE_PTSNAME_R = 1]
stat            [test $HAVE_PTSNAME_R = 0 || test $REPLACE_PTSNAME_R = 1]
ttyname_r       [test $HAVE_PTSNAME_R = 0 || test $REPLACE_PTSNAME_R = 1]

configure.ac:
gl_FUNC_PTSNAME_R
if test $HAVE_PTSNAME_R = 0 || test $REPLACE_PTSNAME_R = 1; then
  AC_LIBOBJ([ptsname_r])
  gl_PREREQ_PTSNAME_R
fi
gl_STDLIB_MODULE_INDICATOR([ptsname_r])

Makefile.am:

Include:
<stdlib.h>

License:
LGPLv2+

Maintainer:
Eric Blake