Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenischira.c
Go to the documentation of this file.
00001 /* 00002 * COPYRIGHT: See COPYING in the top level directory 00003 * PROJECT: ReactOS system libraries 00004 * FILE: lib/sdk/crt/mbstring/ischira.c 00005 * PURPOSE: 00006 * PROGRAMER: 00007 * UPDATE HISTORY: 00008 * 12/04/99: Ariadne Created 00009 * 05/30/08: Samuel Serapion adapted from PROJECT C Library 00010 * 00011 */ 00012 00013 #include <mbctype.h> 00014 00015 00016 /* 00017 * @implemented 00018 */ 00019 int _ismbchira( unsigned int c ) 00020 { 00021 return ((c>=0x829F) && (c<=0x82F1)); 00022 } 00023 00024 /* 00025 * @implemented 00026 */ 00027 int _ismbckata( unsigned int c ) 00028 { 00029 return ((c>=0x8340) && (c<=0x8396)); 00030 } 00031 00032 /* 00033 * @implemented 00034 */ 00035 unsigned int _mbctohira( unsigned int c ) 00036 { 00037 if (c >= 0x8340 && c <= 0x837e) 00038 return c - 0xa1; 00039 else if (c >= 0x8380 && c <= 0x8396) 00040 return c - 0xa2; 00041 else 00042 return c; 00043 } 00044 00045 /* 00046 * @implemented 00047 */ 00048 unsigned int _mbctokata( unsigned int c ) 00049 { 00050 if (c >= 0x829f && c <= 0x82dd) 00051 return c + 0xa1; 00052 else if (c >= 0x82de && c <= 0x82f1) 00053 return c + 0xa2; 00054 else 00055 return c; 00056 } 00057 00058 Generated on Sat May 26 2012 04:35:27 for ReactOS by
1.7.6.1
|