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 upper bound for the number of bytes needed
13       to represent a single wide character, across all locales.
14

RETURN VALUE

16       A constant integer greater than zero.
17

CONFORMING TO

19       C99, POSIX.1-2001.
20

NOTES

22       The entities MB_LEN_MAX and sizeof(wchar_t) are totally unrelated.   In
23       glibc, MB_LEN_MAX is typically 6 while sizeof(wchar_t) is 4.
24

SEE ALSO

26       MB_CUR_MAX(3)
27

COLOPHON

29       This  page  is  part of release 3.22 of the Linux man-pages project.  A
30       description of the project, and information about reporting  bugs,  can
31       be found at http://www.kernel.org/doc/man-pages/.
32
33
34
35Linux                             1999-07-04                     MB_LEN_MAX(3)
Impressum