xref: /titanic_50/usr/src/lib/libxcurses2/h/mks.h (revision f38cb554a534c6df738be3f4d23327e69888e634)
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, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 /*
23  * Copyright (c) 1996-1998 by Sun Microsystems, Inc.
24  * All rights reserved.
25  */
26 
27 #pragma ident	"%Z%%M%	%I%	%E% SMI"
28 
29 /*
30  * MKS header file.  Defines that make programming easier for us.
31  * Includes MKS-specific things and posix routines.
32  *
33  * Copyright 1985, 1993 by Mortice Kern Systems Inc.  All rights reserved.
34  *
35  * $Header: /rd/h/rcs/mks.h 1.233 1995/09/28 19:45:19 mark Exp $
36  */
37 
38 #ifndef	__M_MKS_H__
39 #define	__M_MKS_H__
40 
41 /*
42  * This should be a feature test macro defined in the Makefile or
43  * cc command line.
44  */
45 #ifndef	MKS
46 #define	MKS	1
47 #endif
48 
49 typedef	void	(*_sigfun_t)(int);
50 
51 #include <stdio.h>
52 #include <unistd.h>
53 #include <limits.h>
54 #include <stdlib.h>
55 #include <wchar.h>
56 
57 #define	M_TERMINFO_DIR		"/usr/share/lib/terminfo"
58 #define	M_CURSES_VERSION	"MKS I/XCU 4.3 Curses"
59 
60 /*
61  * MKS-specific library entry points.
62  */
63 #if defined(_LP64)
64 extern void	m_crcposix(unsigned int *, const unsigned char *, size_t);
65 #else
66 extern void	m_crcposix(unsigned long *, const unsigned char *, size_t);
67 #endif
68 
69 #endif	/* __M_MKS_H__ */
70