1MB_LEN_MAX(3) Linux Programmer's Manual MB_LEN_MAX(3)
2
3
4
6 MB_LEN_MAX - maximum multibyte length of a character across all locales
7
9 #include <limits.h>
10
12 The MB_LEN_MAX macro is the maximum number of bytes needed to represent
13 a single wide character, in any of the supported locales.
14
16 A constant integer greater than zero.
17
19 POSIX.1-2001, POSIX.1-2008, C99.
20
22 The entities MB_LEN_MAX and sizeof(wchar_t) are totally unrelated. In
23 glibc, MB_LEN_MAX is typically 16 (6 in glibc versions earlier than
24 2.2), while sizeof(wchar_t) is 4.
25
27 MB_CUR_MAX(3)
28
30 This page is part of release 5.13 of the Linux man-pages project. A
31 description of the project, information about reporting bugs, and the
32 latest version of this page, can be found at
33 https://www.kernel.org/doc/man-pages/.
34
35
36
37Linux 2015-07-23 MB_LEN_MAX(3)