xref: /titanic_52/usr/src/cmd/sgs/libconv/common/_conv.h (revision ea8dc4b6d2251b437950c0056bc626b311c73c27)
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 1998,2003 Sun Microsystems, Inc.  All rights reserved.
24  *	Use is subject to license terms.
25  */
26 
27 #ifndef	__CONV_DOT_H
28 #define	__CONV_DOT_H
29 
30 #pragma ident	"%Z%%M%	%I%	%E% SMI"
31 
32 /*
33  * Local include file for conversion library.
34  */
35 #include <conv.h>
36 
37 #ifdef	__cplusplus
38 extern "C" {
39 #endif
40 
41 /*
42  * Various values that can't be matched to a symbolic definition will be
43  * converted to a numeric string.  Each function that may require this
44  * fallback maintains its own static string buffer, as many conversion
45  * routines may be called for one final diagnostic.
46  *
47  * Most strings are printed as a 10.10s, but the string size is big
48  * enough for any 32 bit value.
49  */
50 #define	STRSIZE		12
51 #define	STRSIZE64	24
52 
53 #ifdef	__cplusplus
54 }
55 #endif
56 
57 #endif	/* __CONV_DOT_H */
58