Debian Codegraph @

upstream/debian-unstable/man3/wchar_t.3type

raw
1 .\" Copyright, the authors of the Linux man-pages project
2 .\"
3 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
4 .\"
5 .TH wchar_t 3type 2026-01-09 "Linux man-pages 6.18"
6 .SH NAME
7 wchar_t
8 \-
9 wide-character type
10 .SH LIBRARY
11 Standard C library
12 .RI ( libc )
13 .SH SYNOPSIS
14 .nf
15 .B #include <stddef.h>
16 .P
17 .BR typedef " /* ... */ " wchar_t;
18 .P
19 .B #include <stdint.h>
20 .P
21 .BR "#define WCHAR_WIDTH " "/* ... */"
22 .BR "#define WCHAR_MAX " "/* ... */"
23 .BR "#define WCHAR_MIN " "/* ... */"
24 .fi
25 .SH DESCRIPTION
26 .I wchar_t
27 is a type used for storing a wide character.
28 It is an integer type.
29 .SH STANDARDS
30 C11, POSIX.1-2024.
31 .SH HISTORY
32 .TP
33 .I wchar_t
34 SUSv1,
35 C99,
36 POSIX.1-2001.
37 .TP
38 .B WCHAR_MAX
39 .TQ
40 .B WCHAR_MIN
41 SUSv2,
42 C99, POSIX.1-2001.
43 .P
44 The
45 .B WCHAR_WIDTH
46 macro was added in C23.
47 .SH NOTES
48 The following headers also provide this type:
49 .IR <inttypes.h> ,
50 .IR <stdlib.h> ,
51 .IR <wchar.h> ,
52 .IR <wctype.h> .
53 .P
54 The following header also provides these macros:
55 .IR <wchar.h> .
56 .SH SEE ALSO
57 .BR wint_t (3type),
58 .BR fputwc (3)