home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / detk45he.zip / libc / wctype.h < prev   
Text File  |  1999-03-15  |  3KB  |  96 lines

  1. #if __IBMC__ || __IBMCPP__
  2. #pragma info( none )
  3. #ifndef __CHKHDR__
  4.    #pragma info( none )
  5. #endif
  6. #pragma info( restore )
  7. #endif
  8.  
  9. #ifndef __wctype_h
  10.    #define __wctype_h
  11.  
  12.    #ifdef __cplusplus
  13.       extern "C" {
  14.    #endif
  15.  
  16.    #ifndef  _LNK_CONV
  17.       #if __IBMC__ || __IBMCPP__ || defined(_OPTLINK_SUPPORTED)
  18.          #define _LNK_CONV   _Optlink
  19.       #else
  20.          #define _LNK_CONV
  21.       #endif
  22.    #endif
  23.  
  24.    #ifndef _IMPORT
  25.       #ifdef __IMPORTLIB__
  26.          #define _IMPORT _Import
  27.       #else
  28.          #define _IMPORT
  29.       #endif
  30.    #endif
  31.  
  32.    /********************************************************************/
  33.    /*  <wctype.h> header file                                          */
  34.    /*                                                                  */
  35.    /*  (C) Copyright IBM Corp. 1991, 1995.                             */
  36.    /*  - Licensed Material - Program-Property of IBM                   */
  37.    /*  - All rights reserved                                           */
  38.    /*                                                                  */
  39.    /********************************************************************/
  40.  
  41.    #include <stdio.h>
  42.    #include <stdarg.h>
  43.  
  44.    #ifndef __wchar_t
  45.       #define __wchar_t
  46.       typedef unsigned short wchar_t;
  47.    #endif
  48.  
  49.    #ifndef __wctype_t
  50.       #define __wctype_t
  51.       typedef unsigned int        wctype_t;
  52.    #endif
  53.  
  54.    #ifndef __wint_t
  55.       #define __wint_t
  56.       typedef int        wint_t;
  57.    #endif
  58.  
  59.    #ifndef WEOF
  60.       #define WEOF -1
  61.    #endif
  62.  
  63.    extern int      _IMPORT _LNK_CONV iswalnum (wint_t);
  64.    extern int      _IMPORT _LNK_CONV iswalpha (wint_t);
  65.    #ifdef __EXTENDED__
  66.       extern int   _IMPORT _LNK_CONV iswblank (wint_t);
  67.    #endif
  68.    extern int      _IMPORT _LNK_CONV iswcntrl (wint_t);
  69.    extern int      _IMPORT _LNK_CONV iswdigit (wint_t);
  70.    extern int      _IMPORT _LNK_CONV iswgraph (wint_t);
  71.    extern int      _IMPORT _LNK_CONV iswlower (wint_t);
  72.    extern int      _IMPORT _LNK_CONV iswprint (wint_t);
  73.    extern int      _IMPORT _LNK_CONV iswpunct (wint_t);
  74.    extern int      _IMPORT _LNK_CONV iswspace (wint_t);
  75.    extern int      _IMPORT _LNK_CONV iswupper (wint_t);
  76.    extern int      _IMPORT _LNK_CONV iswxdigit(wint_t);
  77.    extern wint_t   _IMPORT _LNK_CONV towlower (wint_t);
  78.    extern wint_t   _IMPORT _LNK_CONV towupper (wint_t);
  79.    extern wctype_t _IMPORT _LNK_CONV wctype   (const char *);
  80.    extern int      _IMPORT _LNK_CONV iswctype (wint_t, wctype_t);
  81.  
  82.    #ifdef __cplusplus
  83.       }
  84.    #endif
  85.  
  86. #endif
  87.  
  88. #if __IBMC__ || __IBMCPP__
  89. #pragma info( none )
  90. #ifndef __CHKHDR__
  91.    #pragma info( restore )
  92. #endif
  93. #pragma info( restore )
  94. #endif
  95.  
  96.