1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" SPDX-License-Identifier: GPL-2.0-or-later
5 .\" References consulted:
6 .\" GNU glibc-2 source code and manual
7 .\" Dinkumware C library reference http://www.dinkumware.com/
8 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
10 .\" Modified, aeb, 990824
12 .TH MB_LEN_MAX 3 2015-07-23 "Linux man-pages (unreleased)"
14 MB_LEN_MAX \- maximum multibyte length of a character across all locales
20 .B #include <limits.h>
25 macro is the maximum number of bytes needed to represent a single
26 wide character, in any of the supported locales.
28 A constant integer greater than zero.
30 POSIX.1-2001, POSIX.1-2008, C99.
36 are totally unrelated.
40 .\" For an explanation of why the limit was raised to 16, see
41 .\" http://lists.gnu.org/archive/html/bug-gnulib/2015-05/msg00001.html
42 .\" From: Bruno Haible
43 .\" Subject: Re: why is MB_LEN_MAX so large (16) on glibc
44 .\" Date: Thu, 14 May 2015 02:30:14 +0200
45 (6 in glibc versions earlier than 2.2), while