spawn.h (03bc411dab3f06ee36b08ec4ecef26c9ebaf0815) spawn.h (08556f6c986d17ed3d96f39954c1fa8e6e302a81)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 6 unchanged lines hidden (view full) ---

15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21
22/*
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 6 unchanged lines hidden (view full) ---

15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21
22/*
23 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
25 */
26
27#ifndef _SPAWN_H
28#define _SPAWN_H
29
30#include <sys/feature_tests.h>
31#include <sys/types.h>

--- 117 unchanged lines hidden (view full) ---

149 const posix_spawnattr_t *_RESTRICT_KYWD attr,
150 sigset_t *_RESTRICT_KYWD sigdefault);
151
152/*
153 * non-portable Solaris extensions
154 */
155#if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
156
24 * Use is subject to license terms.
25 */
26
27#ifndef _SPAWN_H
28#define _SPAWN_H
29
30#include <sys/feature_tests.h>
31#include <sys/types.h>

--- 117 unchanged lines hidden (view full) ---

149 const posix_spawnattr_t *_RESTRICT_KYWD attr,
150 sigset_t *_RESTRICT_KYWD sigdefault);
151
152/*
153 * non-portable Solaris extensions
154 */
155#if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
156
157extern int posix_spawn_file_actions_addclosefrom_np(
158 posix_spawn_file_actions_t *file_actions,
159 int lowfiledes);
160
157extern int posix_spawnattr_setsigignore_np(
158 posix_spawnattr_t *_RESTRICT_KYWD attr,
159 const sigset_t *_RESTRICT_KYWD sigignore);
160
161extern int posix_spawnattr_getsigignore_np(
162 const posix_spawnattr_t *_RESTRICT_KYWD attr,
163 sigset_t *_RESTRICT_KYWD sigignore);
164

--- 24 unchanged lines hidden (view full) ---

189extern int posix_spawnattr_getpgroup();
190extern int posix_spawnattr_setschedparam();
191extern int posix_spawnattr_getschedparam();
192extern int posix_spawnattr_setschedpolicy();
193extern int posix_spawnattr_getschedpolicy();
194extern int posix_spawnattr_setsigdefault();
195extern int posix_spawnattr_getsigdefault();
196#if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
161extern int posix_spawnattr_setsigignore_np(
162 posix_spawnattr_t *_RESTRICT_KYWD attr,
163 const sigset_t *_RESTRICT_KYWD sigignore);
164
165extern int posix_spawnattr_getsigignore_np(
166 const posix_spawnattr_t *_RESTRICT_KYWD attr,
167 sigset_t *_RESTRICT_KYWD sigignore);
168

--- 24 unchanged lines hidden (view full) ---

193extern int posix_spawnattr_getpgroup();
194extern int posix_spawnattr_setschedparam();
195extern int posix_spawnattr_getschedparam();
196extern int posix_spawnattr_setschedpolicy();
197extern int posix_spawnattr_getschedpolicy();
198extern int posix_spawnattr_setsigdefault();
199extern int posix_spawnattr_getsigdefault();
200#if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__)
201extern int posix_spawn_file_actions_addclosefrom_np();
197extern int posix_spawnattr_setsigignore_np();
198extern int posix_spawnattr_getsigignore_np();
199#endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */
200extern int posix_spawnattr_setsigmask();
201extern int posix_spawnattr_getsigmask();
202
203#endif /* __STDC__ */
204
205#ifdef __cplusplus
206}
207#endif
208
209#endif /* _SPAWN_H */
202extern int posix_spawnattr_setsigignore_np();
203extern int posix_spawnattr_getsigignore_np();
204#endif /* !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) */
205extern int posix_spawnattr_setsigmask();
206extern int posix_spawnattr_getsigmask();
207
208#endif /* __STDC__ */
209
210#ifdef __cplusplus
211}
212#endif
213
214#endif /* _SPAWN_H */