view modules/tcgetsid @ 15187:8f6c698d0789

crc: Move AC_LIBOBJ invocations to module description. * m4/crc.m4: Remove file. * modules/crc (Files): Remove it. (configure.ac): Remove gl_CRC call. (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Mon, 23 May 2011 22:51:09 +0200
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