home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional Developers Kit 1992 November / Disc01 / Disc01.mdf / cppbeta / incla / wcstr.h__ / WCSTR.H
Encoding:
C/C++ Source or Header  |  1992-09-28  |  2.7 KB  |  77 lines

  1. #ifndef __wcstr_h
  2.    #define __wcstr_h
  3.  
  4.    #pragma info( none )
  5.    #ifndef __CHKHDR__
  6.       #pragma info( none )
  7.    #endif
  8.    #pragma info( restore )
  9.  
  10.    #ifdef __cplusplus
  11.       extern "C" {
  12.    #endif
  13.  
  14.    /********************************************************************/
  15.    /*  <wcstr.h> header file                                           */
  16.    /*                                                                  */
  17.    /*  Licensed Materials - Property of IBM                            */
  18.    /*                                                                  */
  19.    /*  IBM C Set/2 Beta Version                                        */
  20.    /*  Copyright (C) International Business Machines Corp., 1991,1992  */
  21.    /*  All rights reserved                                             */
  22.    /*                                                                  */
  23.    /*  US Government Users Restricted Rights -                         */
  24.    /*  Use, duplication, or disclosure restricted                      */
  25.    /*  by GSA ADP Schedule Contract with IBM Corp.                     */
  26.    /*                                                                  */
  27.    /********************************************************************/
  28.  
  29.    #ifndef __ANSI__
  30.  
  31.       #ifndef __size_t
  32.          #define __size_t
  33.          typedef unsigned int size_t;
  34.       #endif
  35.  
  36.       #ifndef NULL
  37.          #if (defined(__EXTENDED__)  || defined( __cplusplus ))
  38.             #define NULL 0
  39.          #else
  40.             #define NULL ((void *)0)
  41.          #endif
  42.       #endif
  43.  
  44.  
  45.       #ifndef __wchar_t
  46.          #define __wchar_t
  47.          typedef unsigned short wchar_t;
  48.       #endif
  49.  
  50.       wchar_t * _Optlink wcscat( wchar_t *, const wchar_t * );
  51.       wchar_t * _Optlink wcschr( const wchar_t *, wchar_t );
  52.       int       _Optlink wcscmp( const wchar_t *, const wchar_t * );
  53.       wchar_t * _Optlink wcscpy( wchar_t *, const wchar_t * );
  54.       size_t    _Optlink wcscspn( const wchar_t *, const wchar_t * );
  55.       size_t    _Optlink wcslen( const wchar_t * );
  56.       wchar_t * _Optlink wcsncat( wchar_t *, const wchar_t *, size_t );
  57.       int       _Optlink wcsncmp( const wchar_t *, const wchar_t *, size_t );
  58.       wchar_t * _Optlink wcsncpy( wchar_t *, const wchar_t *, size_t );
  59.       wchar_t * _Optlink wcspbrk( const wchar_t *, const wchar_t * );
  60.       wchar_t * _Optlink wcsrchr( const wchar_t *, wchar_t );
  61.       size_t    _Optlink wcsspn( const wchar_t *, const wchar_t * );
  62.       wchar_t * _Optlink wcswcs( const wchar_t *, const wchar_t * );
  63.  
  64.    #endif
  65.  
  66.    #ifdef __cplusplus
  67.       }
  68.    #endif
  69.  
  70.    #pragma info( none )
  71.    #ifndef __CHKHDR__
  72.       #pragma info( restore )
  73.    #endif
  74.    #pragma info( restore )
  75.  
  76. #endif
  77.