view modules/tcgetsid @ 17450:fcdfb5b7741a

* lib/tmpdir.c: Simplify code to add slash; no need for a loop.
author Paul Eggert <eggert@cs.ucla.edu>
date Mon, 15 Jul 2013 13:32:24 -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