Debian Codegraph @

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

raw
1 .\" Copyright (c) 2024 by Alejandro Colomar <[email protected]>
2 .\"
3 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
4 .\"
5 .TH wchar_t 3type 2024-05-03 "Linux man-pages 6.9.1"
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-2008.
31 .SH HISTORY
32 C99, POSIX.1-2001.
33 .P
34 The
35 .B WCHAR_WIDTH
36 macro was added in C23.
37 .SH NOTES
38 The following headers also provide this type:
39 .IR <inttypes.h> ,
40 .IR <stdlib.h> ,
41 .IR <wchar.h> ,
42 .IR <wctype.h> .
43 .P
44 The following header also provides these macros:
45 .IR <wchar.h> .
46 .SH SEE ALSO
47 .BR wint_t (3type),
48 .BR fputwc (3)