1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
4 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
10 .\" References consulted:
11 .\" GNU glibc-2 source code and manual
12 .\" Dinkumware C library reference http://www.dinkumware.com/
13 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
15 .\" Modified, aeb, 990824
17 .TH MB_LEN_MAX 3 2015-07-23 "Linux" "Linux Programmer's Manual"
19 MB_LEN_MAX \- maximum multibyte length of a character across all locales
22 .B #include <limits.h>
27 macro is the maximum number of bytes needed to represent a single
28 wide character, in any of the supported locales.
30 A constant integer greater than zero.
32 POSIX.1-2001, POSIX.1-2008, C99.
38 are totally unrelated.
42 .\" For an explanation of why the limit was raised to 16, see
43 .\" http://lists.gnu.org/archive/html/bug-gnulib/2015-05/msg00001.html
44 .\" From: Bruno Haible
45 .\" Subject: Re: why is MB_LEN_MAX so large (16) on glibc
46 .\" Date: Thu, 14 May 2015 02:30:14 +0200
47 (6 in glibc versions earlier than 2.2), while