view modules/tcgetsid @ 13689:af3a7152efba

New module 'tcgetsid'. * lib/tcgetsid.c: New file. * m4/tcgetsid.m4: New file. * modules/tcgetsid: New file. * modules/termios (Depends-on): Add c++defs, warn-on-use. (Makefile.am): Ensure c++defs.h, warn-on-use.h get included. Substitute GNULIB_TCGETSID, HAVE_TCGETSID. * lib/termios.in.h: Include <sys/types.h>. (tcgetsid): New declaration. * m4/termios_h.m4 (gl_TERMIOS_H): Check whether tcgetsid is declared. (gl_TERMIOS_H_DEFAULTS): Initialize GNULIB_TCGETSID, HAVE_TCGETSID. * doc/posix-functions/tcgetsid.texi: Mention the new module. * tests/test-termios-c++.cc: Check GNULIB_NAMESPACE::tcgetsid.
author Bruno Haible <bruno@clisp.org>
date Fri, 17 Sep 2010 03:16:53 +0200
parents
children efab6978105e
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

configure.ac:
gl_FUNC_TCGETSID
gl_TERMIOS_MODULE_INDICATOR([tcgetsid])

Makefile.am:

Include:
<termios.h>

License:
LGPL

Maintainer:
Bruno Haible