]> pd.if.org Git - pdclib/blob - includes/wchar.h
* Test cleanups: surround the code for all functions by #ifndef REGTEST
[pdclib] / includes / wchar.h
1 /* 7. <wchar.h>\r
2 \r
3    This file is part of the Public Domain C Library (PDCLib).\r
4    Permission is granted to use, modify, and / or redistribute at will.\r
5 */\r
6 \r
7 \r
8 #ifndef _PDCLIB_WCHAR_H\r
9 #define _PDCLIB_WCHAR_H\r
10 #include <_PDCLIB_int.h>\r
11 _PDCLIB_BEGIN_EXTERN_C\r
12 /* This is VASTLY incomplete. Functions being implemented as required by other\r
13    portions of the library\r
14  */\r
15 \r
16 #ifndef _PDCLIB_SIZE_T_DEFINED\r
17 #define _PDCLIB_SIZE_T_DEFINED _PDCLIB_SIZE_T_DEFINED\r
18 typedef _PDCLIB_size_t size_t;\r
19 #endif\r
20 \r
21 #ifndef __cplusplus\r
22 #ifndef _PDCLIB_WCHAR_T_DEFINED\r
23 #define _PDCLIB_WCHAR_T_DEFINED _PDCLIB_WCHAR_T_DEFINED\r
24 typedef _PDCLIB_wchar_t   wchar_t;\r
25 #endif\r
26 #endif\r
27 \r
28 wchar_t *wcschr( const wchar_t * haystack, wchar_t needle );\r
29 wchar_t *wcsrchr( const wchar_t * haystack, wchar_t needle );\r
30 size_t   wcslen( const wchar_t * string);\r
31 wchar_t *wcscpy( wchar_t * _PDCLIB_restrict dest, \r
32                  const wchar_t * _PDCLIB_restrict src);\r
33 \r
34 _PDCLIB_END_EXTERN_C\r
35 #endif\r