1wchar.h(3HEAD)                      Headers                     wchar.h(3HEAD)
2
3
4

NAME

6       wchar.h, wchar - wide-character handling
7

SYNOPSIS

9       #include <wchar.h>
10
11

DESCRIPTION

13       The <wchar.h> header defines the following types:
14
15       wchar_t      As described in <stddef.h>.
16
17
18       wint_t       An  integer  type  capable  of  storing any valid value of
19                    wchar_t or WEOF.
20
21
22       wctype_t     A scalar type of a data object that can hold values  which
23                    represent locale-specific character classification.
24
25
26       mbstate_t    An  object type other than an array type that can hold the
27                    conversion state information necessary to convert  between
28                    sequences  of  (possibly  multi-byte)  characters and wide
29                    characters.  If a codeset is  being  used  such  that   an
30                    mbstate_t  needs  to  preserve  more  than  two  levels of
31                    reserved state, the results are unspecified.
32
33
34       FILE         As described in <stdio.h>.
35
36
37       size_t       As described in <stddef.h>.
38
39
40       va_list      As described in <stdarg.h>.
41
42
43
44       The implementation supports one or  more  programming  environments  in
45       which  the  width  of wint_t is no greater than the width of type long.
46       The names of these programming environments can be obtained  using  the
47       confstr(3C) function or the getconf(1) utility.
48
49
50       The <wchar.h> header defines the following macros:
51
52       WCHAR_MAX    The  maximum  value  representable  by  an  object of type
53                    wchar_t.
54
55
56       WCHAR_MIN    The minimum value  representable  by  an  object  of  type
57                    wchar_t.
58
59
60       WEOF         Constant  expression  of  type  wint_t that is returned by
61                    several WP functions to indicate end-of-file.
62
63
64       NULL         As described in <stddef.h>.
65
66
67
68       The tag tm is declared as naming an incomplete structure type, the con‐
69       tents of which are described in the header <time.h>.
70
71
72       Inclusion of the <wchar.h> header can make visible all symbols from the
73       headers  <ctype.h>,   <string.h>,  <stdarg.h>,  <stddef.h>,  <stdio.h>,
74       <stdlib.h>, and <time.h>.
75

ATTRIBUTES

77       See attributes(5) for descriptions of the following attributes:
78
79
80
81
82       ┌─────────────────────────────┬─────────────────────────────┐
83       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
84       ├─────────────────────────────┼─────────────────────────────┤
85       │Interface Stability          │Standard                     │
86       └─────────────────────────────┴─────────────────────────────┘
87

SEE ALSO

89       getconf(1),  btowc(3C), confstr(3C), fgetwc(3C), getws(3C), fputwc(3C),
90       fputws(3C),   fwide(3C),    fwprintf(3C),    fwscanf(3C),    getwc(3C),
91       getwchar(3C), iswalpha(3C), iswctype(3C), mbsinit(3C), mbrlen(3C), mbr‐
92       towc(3C), mbsrtowcs(3C), towlower(3C), towupper(3C), ungetwc(3C),  vfw‐
93       printf(3C),   wcrtomb(3C),   wcsrtombs(3C),  wcstring(3C),  wcsstr(3C),
94       wcstod(3C),   wcscoll(3C),   wcsftime(3C),   wcstol(3C),   wcstoul(3C),
95       wcswidth(3C),  wcsxfrm(3C),  wctob(3C),  wctype(3C), wcwidth(3C), wmem‐
96       chr(3C),   wmemcmp(3C),   wmemcpy(3C),    wmemmove(3C),    wmemset(3C),
97       stdarg(3EXT),    stddef.h(3HEAD),    stdio.h(3HEAD),   stdlib.h(3HEAD),
98       string.h(3HEAD), time.h(3HEAD), wctype.h(3HEAD),  attributes(5),  stan‐
99       dards(5)
100
101
102
103SunOS 5.11                        10 Sep 2004                   wchar.h(3HEAD)
Impressum