xref: /titanic_50/usr/src/lib/libxcurses2/h/unctrl.h (revision b3700b074e637f8c6991b70754c88a2cfffb246b)
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 #ifndef	_UNCTRL_H
28 #define	_UNCTRL_H
29 
30 #pragma ident	"%Z%%M%	%I%	%E% SMI"
31 
32 /*
33  * unctrl.h
34  *
35  * Copyright 1990, 1995 by Mortice Kern Systems Inc.  All rights reserved.
36  *
37  * $Header: /rd/src/libc/xcurses/rcs/unctrl.h 1.2 1995/05/25 17:57:16 ant Exp $
38  */
39 
40 #include <sys/isa_defs.h>
41 
42 #ifdef	__cplusplus
43 extern "C" {
44 #endif
45 
46 #ifndef	_CHTYPE
47 #define	_CHTYPE
48 #if defined(_LP64)
49 typedef unsigned int	chtype;
50 #else
51 typedef unsigned long	chtype;
52 #endif
53 #endif
54 
55 extern char *unctrl(chtype);
56 
57 #ifdef	__cplusplus
58 }
59 #endif
60 
61 #endif	/* _UNCTRL_H */
62