/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2014 Garrett D'Amore <garrett@damore.org>
*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1986 AT&T */
/* All Rights Reserved */
/* This module is created for NLS on Jun.04.86 */
#ifndef _WIDEC_H
#define _WIDEC_H
#include <sys/feature_tests.h>
#include <stdio.h> /* For definition of FILE */
#include <euc.h>
#include <wchar.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Character based input and output functions */
#if !defined(__lint)
#endif
/* wchar_t string operation functions */
#if !defined(_STRICT_SYMBOLS)
#if defined(_LONGLONG_TYPE)
#endif /* defined(_LONGLONG_TYPE) */
#endif /* !defined(_STRICT_SYMBOLS) */
/* Returns the code set number for the process code c. */
#define wcsetno(c) \
(((c)&0x20000000)?(((c)&0x10000000)?1:3):(((c)&0x10000000)?2:0))
/* Aliases... */
#if defined(_LONGLONG_TYPE) && !defined(__lint)
#endif /* defined(_LONGLONG_TYPE) && !defined(__lint) */
/*
* other macros.
*/
#ifdef __cplusplus
}
#endif
#endif /* _WIDEC_H */