remove uneeded text out of the .rc file.
[reactos.git] / posix / include / wchar.h
1 /* $Id: wchar.h,v 1.4 2002/10/29 04:45:26 rex Exp $
2 */
3 /*
4 * wchar.h
5 *
6 * wide-character types. Conforming to the Single UNIX(r) Specification
7 * Version 2, System Interface & Headers Issue 5
8 *
9 * This file is part of the ReactOS Operating System.
10 *
11 * Contributors:
12 * Created by KJK::Hyperion <noog@libero.it>
13 *
14 * THIS SOFTWARE IS NOT COPYRIGHTED
15 *
16 * This source code is offered for use in the public domain. You may
17 * use, modify or distribute it freely.
18 *
19 * This code is distributed in the hope that it will be useful but
20 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
21 * DISCLAMED. This includes but is not limited to warranties of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23 *
24 */
25 #ifndef __WCHAR_H_INCLUDED__
26 #define __WCHAR_H_INCLUDED__
27
28 /* INCLUDES */
29 #include <stdio.h>
30 #include <stdarg.h>
31 #include <stdlib.h>
32 #include <string.h>
33 #include <stddef.h>
34 #include <time.h>
35
36 /* OBJECTS */
37
38 /* TYPES */
39 typedef wchar_t wint_t; /* An integral type capable of storing any valid
40 value of wchar_t, or WEOF */
41 typedef long int wctype_t; /* A scalar type of a data object that can hold
42 values which represent locale-specific
43 character classification. */
44 typedef void * mbstate_t; /* An object type other than an array type that
45 can hold the conversion state information
46 necessary to convert between sequences of
47 (possibly multibyte) characters and
48 wide-characters */
49
50 /* CONSTANTS */
51
52 /* PROTOTYPES */
53 wint_t btowc(int);
54 int fwprintf(FILE *, const wchar_t *, ...);
55 int fwscanf(FILE *, const wchar_t *, ...);
56 int iswalnum(wint_t);
57 int iswalpha(wint_t);
58 int iswcntrl(wint_t);
59 int iswdigit(wint_t);
60 int iswgraph(wint_t);
61 int iswlower(wint_t);
62 int iswprint(wint_t);
63 int iswpunct(wint_t);
64 int iswspace(wint_t);
65 int iswupper(wint_t);
66 int iswxdigit(wint_t);
67 int iswctype(wint_t, wctype_t);
68 wint_t fgetwc(FILE *);
69 wchar_t *fgetws(wchar_t *, int, FILE *);
70 wint_t fputwc(wchar_t, FILE *);
71 int fputws(const wchar_t *, FILE *);
72 int fwide(FILE *, int);
73 wint_t getwc(FILE *);
74 wint_t getwchar(void);
75 int mbsinit(const mbstate_t *);
76 size_t mbrlen(const char *, size_t, mbstate_t *);
77 size_t mbrtowc(wchar_t *, const char *, size_t,
78 mbstate_t *);
79 size_t mbsrtowcs(wchar_t *, const char **, size_t,
80 mbstate_t *);
81 wint_t putwc(wchar_t, FILE *);
82 wint_t putwchar(wchar_t);
83 int swprintf(wchar_t *, size_t, const wchar_t *, ...);
84 int swscanf(const wchar_t *, const wchar_t *, ...);
85 wint_t towlower(wint_t);
86 wint_t towupper(wint_t);
87 wint_t ungetwc(wint_t, FILE *);
88 int vfwprintf(FILE *, const wchar_t *, va_list);
89 int vwprintf(const wchar_t *, va_list);
90 int vswprintf(wchar_t *, size_t, const wchar_t *,
91 va_list);
92 size_t wcrtomb(char *, wchar_t, mbstate_t *);
93 wchar_t *wcscat(wchar_t *, const wchar_t *);
94 wchar_t *wcschr(const wchar_t *, wchar_t);
95 int wcscmp(const wchar_t *, const wchar_t *);
96 int wcscoll(const wchar_t *, const wchar_t *);
97 wchar_t *wcscpy(wchar_t *, const wchar_t *);
98 size_t wcscspn(const wchar_t *, const wchar_t *);
99 size_t wcsftime(wchar_t *, size_t, const wchar_t *,
100 const struct tm *);
101 size_t wcslen(const wchar_t *);
102 wchar_t *wcsncat(wchar_t *, const wchar_t *, size_t);
103 int wcsncmp(const wchar_t *, const wchar_t *, size_t);
104 wchar_t *wcsncpy(wchar_t *, const wchar_t *, size_t);
105 wchar_t *wcspbrk(const wchar_t *, const wchar_t *);
106 wchar_t *wcsrchr(const wchar_t *, wchar_t);
107 size_t wcsrtombs(char *, const wchar_t **, size_t,
108 mbstate_t *);
109 size_t wcsspn(const wchar_t *, const wchar_t *);
110 wchar_t *wcsstr(const wchar_t *, const wchar_t *);
111 double wcstod(const wchar_t *, wchar_t **);
112 wchar_t *wcstok(wchar_t *, const wchar_t *, wchar_t **);
113 long int wcstol(const wchar_t *, wchar_t **, int);
114 unsigned long int wcstoul(const wchar_t *, wchar_t **, int);
115 wchar_t *wcswcs(const wchar_t *, const wchar_t *);
116 int wcswidth(const wchar_t *, size_t);
117 size_t wcsxfrm(wchar_t *, const wchar_t *, size_t);
118 int wctob(wint_t);
119 wctype_t wctype(const char *);
120 int wcwidth(wchar_t);
121 wchar_t *wmemchr(const wchar_t *, wchar_t, size_t);
122 int wmemcmp(const wchar_t *, const wchar_t *, size_t);
123 wchar_t *wmemcpy(wchar_t *, const wchar_t *, size_t);
124 wchar_t *wmemmove(wchar_t *, const wchar_t *, size_t);
125 wchar_t *wmemset(wchar_t *, wchar_t, size_t);
126 int wprintf(const wchar_t *, ...);
127 int wscanf(const wchar_t *, ...);
128
129 /* MACROS */
130 #define WCHAR_MAX (0xFFFF)
131 #define WCHAR_MIN (0x0000)
132
133 /* FIXME? */
134 #define WEOF (0xFFFF)
135
136 #endif /* __WCHAR_H_INCLUDED__ */
137
138 /* EOF */
139