1MB_LEN_MAX(3)              Linux Programmer's Manual             MB_LEN_MAX(3)
2
3
4

NAME

6       MB_LEN_MAX - maximum multibyte length of a character across all locales
7

SYNOPSIS

9       #include <limits.h>
10

DESCRIPTION

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

RETURN VALUE

16       A constant integer greater than zero.
17

CONFORMING TO

19       POSIX.1-2001, POSIX.1-2008, C99.
20

NOTES

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

SEE ALSO

27       MB_CUR_MAX(3)
28

COLOPHON

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)
Impressum