1*8ceba33eSraf /*
2*8ceba33eSraf  * CDDL HEADER START
3*8ceba33eSraf  *
4*8ceba33eSraf  * The contents of this file are subject to the terms of the
5*8ceba33eSraf  * Common Development and Distribution License (the "License").
6*8ceba33eSraf  * You may not use this file except in compliance with the License.
7*8ceba33eSraf  *
8*8ceba33eSraf  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*8ceba33eSraf  * or http://www.opensolaris.org/os/licensing.
10*8ceba33eSraf  * See the License for the specific language governing permissions
11*8ceba33eSraf  * and limitations under the License.
12*8ceba33eSraf  *
13*8ceba33eSraf  * When distributing Covered Code, include this CDDL HEADER in each
14*8ceba33eSraf  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*8ceba33eSraf  * If applicable, add the following below this CDDL HEADER, with the
16*8ceba33eSraf  * fields enclosed by brackets "[]" replaced with your own identifying
17*8ceba33eSraf  * information: Portions Copyright [yyyy] [name of copyright owner]
18*8ceba33eSraf  *
19*8ceba33eSraf  * CDDL HEADER END
20*8ceba33eSraf  */
21*8ceba33eSraf 
22*8ceba33eSraf /*
23*8ceba33eSraf  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
24*8ceba33eSraf  * Use is subject to license terms.
25*8ceba33eSraf  */
26*8ceba33eSraf 
27*8ceba33eSraf #ifndef _SYS_LIBC_KERNEL_H
28*8ceba33eSraf #define	_SYS_LIBC_KERNEL_H
29*8ceba33eSraf 
30*8ceba33eSraf /*
31*8ceba33eSraf  * This file contains definitions for miscellaneous consolidation-private
32*8ceba33eSraf  * interfaces that are private, exclusively between libc and the kernel.
33*8ceba33eSraf  * These definitions are for implementation details that can change at
34*8ceba33eSraf  * any time, even in a patch.  Applications should never see this file.
35*8ceba33eSraf  */
36*8ceba33eSraf 
37*8ceba33eSraf #ifdef __cplusplus
38*8ceba33eSraf extern "C" {
39*8ceba33eSraf #endif
40*8ceba33eSraf 
41*8ceba33eSraf /*
42*8ceba33eSraf  * A vfork() child that calls _exit(_EVAPORATE) without having performed
43*8ceba33eSraf  * an execve() will disappear without a trace, just as though the parent
44*8ceba33eSraf  * had set the disposition of the SIGCHLD signal to be ignored.  This is
45*8ceba33eSraf  * used by the the posix_spawn() implementation in libc.
46*8ceba33eSraf  */
47*8ceba33eSraf #define	_EVAPORATE	0xffff0000
48*8ceba33eSraf 
49*8ceba33eSraf #ifdef __cplusplus
50*8ceba33eSraf }
51*8ceba33eSraf #endif
52*8ceba33eSraf 
53*8ceba33eSraf #endif /* _SYS_LIBC_KERNEL_H */
54