annotate tests/test-spawn-c++.cc @ 17363:5a51fb7777a9

sys_select, sys_time: port 2013-01-30 Solaris 2.6 fix to Cygwin Problem reported by Marco Atzeri in <http://lists.gnu.org/archive/html/bug-gnulib/2013-03/msg00000.html>. * lib/sys_select.in.h [HAVE_SYS_SELECT_H && _CYGWIN_SYS_TIME_H]: Simply delegate to the system <sys/select.h> in this case too. Also, pay attention to _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TIME_H only if OSF/1, since otherwise Cygwin breaks, and it doesn't seem to be needed on Solaris either. * lib/sys_time.in.h [_CYGWIN_SYS_TIME_H]: Simply delgate to the system <sys/time.h> in this case.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 19 Mar 2013 09:08:47 -0700
parents e542fd46ad6f
children 344018b6e5d7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 /* Test of <spawn.h> substitute in C++ mode.
17249
e542fd46ad6f maint: update all copyright year number ranges
Eric Blake <eblake@redhat.com>
parents: 16201
diff changeset
2 Copyright (C) 2010-2013 Free Software Foundation, Inc.
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 This program is free software: you can redistribute it and/or modify
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 it under the terms of the GNU General Public License as published by
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 the Free Software Foundation; either version 3 of the License, or
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 (at your option) any later version.
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 This program is distributed in the hope that it will be useful,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 GNU General Public License for more details.
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 You should have received a copy of the GNU General Public License
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 along with this program. If not, see <http://www.gnu.org/licenses/>. */
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 /* Written by Bruno Haible <bruno@clisp.org>, 2010. */
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 #define GNULIB_NAMESPACE gnulib
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 #include <config.h>
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 #include <spawn.h>
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 #include "signature.h"
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12963
diff changeset
27 #if GNULIB_TEST_POSIX_SPAWN
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 SIGNATURE_CHECK (GNULIB_NAMESPACE::posix_spawn, int,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29 (pid_t *, const char *, const posix_spawn_file_actions_t *,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30 const posix_spawnattr_t *, char *const[], char *const[]));
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
31 #endif
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
32
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12963
diff changeset
33 #if GNULIB_TEST_POSIX_SPAWNP
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
34 SIGNATURE_CHECK (GNULIB_NAMESPACE::posix_spawnp, int,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
35 (pid_t *, const char *, const posix_spawn_file_actions_t *,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
36 const posix_spawnattr_t *, char *const[], char *const[]));
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
37 #endif
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
38
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12963
diff changeset
39 #if GNULIB_TEST_POSIX_SPAWNATTR_INIT
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
40 SIGNATURE_CHECK (GNULIB_NAMESPACE::posix_spawnattr_init, int,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
41 (posix_spawnattr_t *));
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
42 #endif
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
43
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12963
diff changeset
44 #if GNULIB_TEST_POSIX_SPAWNATTR_DESTROY
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
45 SIGNATURE_CHECK (GNULIB_NAMESPACE::posix_spawnattr_destroy, int,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
46 (posix_spawnattr_t *));
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
47 #endif
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
48
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12963
diff changeset
49 #if GNULIB_TEST_POSIX_SPAWNATTR_GETSIGDEFAULT
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
50 SIGNATURE_CHECK (GNULIB_NAMESPACE::posix_spawnattr_getsigdefault, int,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
51 (const posix_spawnattr_t *, sigset_t *));
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
52 #endif
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
53
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12963
diff changeset
54 #if GNULIB_TEST_POSIX_SPAWNATTR_SETSIGDEFAULT
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
55 SIGNATURE_CHECK (GNULIB_NAMESPACE::posix_spawnattr_setsigdefault, int,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
56 (posix_spawnattr_t *, const sigset_t *));
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
57 #endif
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
58
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12963
diff changeset
59 #if GNULIB_TEST_POSIX_SPAWNATTR_GETSIGMASK
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
60 SIGNATURE_CHECK (GNULIB_NAMESPACE::posix_spawnattr_getsigmask, int,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
61 (const posix_spawnattr_t *, sigset_t *));
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
62 #endif
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
63
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12963
diff changeset
64 #if GNULIB_TEST_POSIX_SPAWNATTR_SETSIGMASK
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
65 SIGNATURE_CHECK (GNULIB_NAMESPACE::posix_spawnattr_setsigmask, int,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
66 (posix_spawnattr_t *, const sigset_t *));
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
67 #endif
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
68
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12963
diff changeset
69 #if GNULIB_TEST_POSIX_SPAWNATTR_GETFLAGS
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
70 SIGNATURE_CHECK (GNULIB_NAMESPACE::posix_spawnattr_getflags, int,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
71 (const posix_spawnattr_t *, short int *));
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
72 #endif
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
73
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12963
diff changeset
74 #if GNULIB_TEST_POSIX_SPAWNATTR_SETFLAGS
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
75 SIGNATURE_CHECK (GNULIB_NAMESPACE::posix_spawnattr_setflags, int,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
76 (posix_spawnattr_t *, short int));
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
77 #endif
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
78
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12963
diff changeset
79 #if GNULIB_TEST_POSIX_SPAWNATTR_GETPGROUP
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
80 SIGNATURE_CHECK (GNULIB_NAMESPACE::posix_spawnattr_getpgroup, int,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
81 (const posix_spawnattr_t *, pid_t *));
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
82 #endif
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
83
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12963
diff changeset
84 #if GNULIB_TEST_POSIX_SPAWNATTR_SETPGROUP
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
85 SIGNATURE_CHECK (GNULIB_NAMESPACE::posix_spawnattr_setpgroup, int,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
86 (posix_spawnattr_t *, pid_t));
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
87 #endif
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
88
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12963
diff changeset
89 #if GNULIB_TEST_POSIX_SPAWNATTR_GETSCHEDPOLICY
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
90 SIGNATURE_CHECK (GNULIB_NAMESPACE::posix_spawnattr_getschedpolicy, int,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
91 (const posix_spawnattr_t *, int *));
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
92 #endif
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
93
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12963
diff changeset
94 #if GNULIB_TEST_POSIX_SPAWNATTR_SETSCHEDPOLICY
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
95 SIGNATURE_CHECK (GNULIB_NAMESPACE::posix_spawnattr_setschedpolicy, int,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
96 (posix_spawnattr_t *, int));
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
97 #endif
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
98
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12963
diff changeset
99 #if GNULIB_TEST_POSIX_SPAWNATTR_GETSCHEDPARAM
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
100 SIGNATURE_CHECK (GNULIB_NAMESPACE::posix_spawnattr_getschedparam, int,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
101 (const posix_spawnattr_t *, struct sched_param *));
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
102 #endif
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
103
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12963
diff changeset
104 #if GNULIB_TEST_POSIX_SPAWNATTR_SETSCHEDPARAM
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
105 SIGNATURE_CHECK (GNULIB_NAMESPACE::posix_spawnattr_setschedparam, int,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
106 (posix_spawnattr_t *, const struct sched_param *));
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
107 #endif
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
108
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12963
diff changeset
109 #if GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_INIT
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
110 SIGNATURE_CHECK (GNULIB_NAMESPACE::posix_spawn_file_actions_init, int,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
111 (posix_spawn_file_actions_t *));
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
112 #endif
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
113
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12963
diff changeset
114 #if GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_DESTROY
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
115 SIGNATURE_CHECK (GNULIB_NAMESPACE::posix_spawn_file_actions_destroy, int,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
116 (posix_spawn_file_actions_t *));
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
117 #endif
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
118
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12963
diff changeset
119 #if GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
120 SIGNATURE_CHECK (GNULIB_NAMESPACE::posix_spawn_file_actions_addopen, int,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
121 (posix_spawn_file_actions_t *, int, const char *, int,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
122 mode_t));
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
123 #endif
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
124
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12963
diff changeset
125 #if GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
126 SIGNATURE_CHECK (GNULIB_NAMESPACE::posix_spawn_file_actions_addclose, int,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
127 (posix_spawn_file_actions_t *, int));
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
128 #endif
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
129
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12963
diff changeset
130 #if GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2
12963
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
131 SIGNATURE_CHECK (GNULIB_NAMESPACE::posix_spawn_file_actions_adddup2, int,
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
132 (posix_spawn_file_actions_t *, int, int));
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
133 #endif
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
134
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
135
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
136 int
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
137 main ()
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
138 {
235d64fa6943 Tests of module 'spawn' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
139 }