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