comparison tests/test-termios-c++.cc @ 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 045fc677dc80
children 97fc9a21a8fb
comparison
equal deleted inserted replaced
13688:045fc677dc80 13689:af3a7152efba
22 #include <termios.h> 22 #include <termios.h>
23 23
24 #include "signature.h" 24 #include "signature.h"
25 25
26 26
27 #if GNULIB_TEST_TCGETSID
28 SIGNATURE_CHECK (GNULIB_NAMESPACE::tcgetsid, pid_t, (int));
29 #endif
30
31
27 int 32 int
28 main () 33 main ()
29 { 34 {
30 } 35 }