summaryrefslogtreecommitdiffstats
path: root/man/man3type/wchar_t.3type
blob: d012bfa2ef8379449dea0e5da1f60b81d76d3793 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
.\" Copyright (c) 2024 by Alejandro Colomar <alx@kernel.org>
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
.TH wchar_t 3type (date) "Linux man-pages (unreleased)"
.SH NAME
wchar_t
\-
wide-character type
.SH LIBRARY
Standard C library
.RI ( libc )
.SH SYNOPSIS
.nf
.B #include <stddef.h>
.P
.BR typedef " /* ... */  " wchar_t;
.P
.B #include <stdint.h>
.P
.BR "#define WCHAR_WIDTH  " "/* ... */"
.BR "#define WCHAR_MAX    " "/* ... */"
.BR "#define WCHAR_MIN    " "/* ... */"
.fi
.SH DESCRIPTION
.I wchar_t
is a type used for storing a wide character.
It is an integer type.
.SH STANDARDS
C11, POSIX.1-2008.
.SH HISTORY
C99, POSIX.1-2001.
.P
The
.B WCHAR_WIDTH
macro was added in C23.
.SH NOTES
The following headers also provide this type:
.IR <inttypes.h> ,
.IR <stdlib.h> ,
.IR <wchar.h> ,
.IR <wctype.h> .
.P
The following header also provides these macros:
.IR <wchar.h> .
.SH SEE ALSO
.BR wint_t (3type),
.BR fputwc (3)