Description:
tcgetsid() function: Determine the session ID of the controlling terminal of
the current process.

Files:
lib/tcgetsid.c
m4/tcgetsid.m4

Depends-on:
termios-h
extensions
sys_ioctl-h     [test $HAVE_TCGETSID = 0]

configure.ac:
gl_FUNC_TCGETSID
gl_CONDITIONAL([GL_COND_OBJ_TCGETSID], [test $HAVE_TCGETSID = 0])
AM_COND_IF([GL_COND_OBJ_TCGETSID], [
  gl_PREREQ_TCGETSID
])
gl_TERMIOS_MODULE_INDICATOR([tcgetsid])

Makefile.am:
if GL_COND_OBJ_TCGETSID
lib_SOURCES += tcgetsid.c
endif

Include:
<termios.h>

License:
LGPL

Maintainer:
all
