xref: /titanic_41/usr/src/cmd/make/include/bsd/bsd.h (revision 3625efb1376c3d31a0e742ed72b778e5b3add543)
1*3625efb1SRichard Lowe /*
2*3625efb1SRichard Lowe  * CDDL HEADER START
3*3625efb1SRichard Lowe  *
4*3625efb1SRichard Lowe  * The contents of this file are subject to the terms of the
5*3625efb1SRichard Lowe  * Common Development and Distribution License (the "License").
6*3625efb1SRichard Lowe  * You may not use this file except in compliance with the License.
7*3625efb1SRichard Lowe  *
8*3625efb1SRichard Lowe  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*3625efb1SRichard Lowe  * or http://www.opensolaris.org/os/licensing.
10*3625efb1SRichard Lowe  * See the License for the specific language governing permissions
11*3625efb1SRichard Lowe  * and limitations under the License.
12*3625efb1SRichard Lowe  *
13*3625efb1SRichard Lowe  * When distributing Covered Code, include this CDDL HEADER in each
14*3625efb1SRichard Lowe  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*3625efb1SRichard Lowe  * If applicable, add the following below this CDDL HEADER, with the
16*3625efb1SRichard Lowe  * fields enclosed by brackets "[]" replaced with your own identifying
17*3625efb1SRichard Lowe  * information: Portions Copyright [yyyy] [name of copyright owner]
18*3625efb1SRichard Lowe  *
19*3625efb1SRichard Lowe  * CDDL HEADER END
20*3625efb1SRichard Lowe  */
21*3625efb1SRichard Lowe /*
22*3625efb1SRichard Lowe  * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
23*3625efb1SRichard Lowe  * Use is subject to license terms.
24*3625efb1SRichard Lowe  */
25*3625efb1SRichard Lowe 
26*3625efb1SRichard Lowe /*
27*3625efb1SRichard Lowe  * bsd/bsd.h: Interface definitions to BSD compatibility functions for SVR4.
28*3625efb1SRichard Lowe  */
29*3625efb1SRichard Lowe 
30*3625efb1SRichard Lowe #ifndef _BSD_BSD_H
31*3625efb1SRichard Lowe #define _BSD_BSD_H
32*3625efb1SRichard Lowe 
33*3625efb1SRichard Lowe #include <signal.h>
34*3625efb1SRichard Lowe 
35*3625efb1SRichard Lowe 
36*3625efb1SRichard Lowe #ifndef __cplusplus
37*3625efb1SRichard Lowe typedef void (*SIG_PF) (int);
38*3625efb1SRichard Lowe #endif
39*3625efb1SRichard Lowe 
40*3625efb1SRichard Lowe #ifdef __cplusplus
41*3625efb1SRichard Lowe extern "C" SIG_PF bsd_signal(int a, SIG_PF b);
42*3625efb1SRichard Lowe #else
43*3625efb1SRichard Lowe extern void (*bsd_signal(int, void (*) (int))) (int);
44*3625efb1SRichard Lowe #endif
45*3625efb1SRichard Lowe extern void bsd_signals(void);
46*3625efb1SRichard Lowe 
47*3625efb1SRichard Lowe #endif
48