Description:
ttyname_r() function: Determine name of a terminal.

Files:
lib/ttyname_r.c
m4/ttyname_r.m4

Depends-on:
unistd-h
extensions

configure.ac:
gl_FUNC_TTYNAME_R
gl_CONDITIONAL([GL_COND_OBJ_TTYNAME_R],
               [test $HAVE_TTYNAME_R = 0 || test $REPLACE_TTYNAME_R = 1])
AM_COND_IF([GL_COND_OBJ_TTYNAME_R], [
  gl_PREREQ_TTYNAME_R
])
gl_UNISTD_MODULE_INDICATOR([ttyname_r])

Makefile.am:
if GL_COND_OBJ_TTYNAME_R
lib_SOURCES += ttyname_r.c
endif

Include:
<unistd.h>

License:
LGPLv2+

Maintainer:
all
