summaryrefslogtreecommitdiff
path: root/modules/ptsname_r
blob: e29712d21f12d034127f231c021d46faf898e5b7 (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
33
34
35
36
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
gl_CONDITIONAL([GL_COND_OBJ_PTSNAME_R],
               [test $HAVE_PTSNAME_R = 0 || test $REPLACE_PTSNAME_R = 1])
AM_COND_IF([GL_COND_OBJ_PTSNAME_R], [
  gl_PREREQ_PTSNAME_R
])
gl_STDLIB_MODULE_INDICATOR([ptsname_r])

Makefile.am:
if GL_COND_OBJ_PTSNAME_R
lib_SOURCES += ptsname_r.c
endif

Include:
<stdlib.h>

License:
LGPLv2+

Maintainer:
Eric Blake