view modules/tcgetsid @ 17448:b3516a31a386

regex: port to --with-included-regex --enable-gcc-warnings non-threaded * lib/regex_internal.h (lock_fini, lock_lock): Rework to avoid gcc warnings in the non-threaded case. Reported by Charlie Brown in <http://lists.gnu.org/archive/html/bug-gnulib/2013-07/msg00015.html>.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 09 Jul 2013 11:35:01 -0700
parents f4866d768f30
children
line wrap: on
line source

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
extensions
sys_ioctl       [test $HAVE_TCGETSID = 0]

configure.ac:
gl_FUNC_TCGETSID
if test $HAVE_TCGETSID = 0; then
  AC_LIBOBJ([tcgetsid])
  gl_PREREQ_TCGETSID
fi
gl_TERMIOS_MODULE_INDICATOR([tcgetsid])

Makefile.am:

Include:
<termios.h>

License:
LGPL

Maintainer:
Bruno Haible