OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / original / man3 / MB_LEN_MAX.3
1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2 .\"
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
7 .\"
8 .\" References consulted:
9 .\"   GNU glibc-2 source code and manual
10 .\"   Dinkumware C library reference http://www.dinkumware.com/
11 .\"   OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html
12 .\"
13 .\" Modified, aeb, 990824
14 .\"
15 .TH MB_LEN_MAX 3 1999-07-04 "Linux" "Linux Programmer's Manual"
16 .SH NAME
17 MB_LEN_MAX \- maximum multibyte length of a character across all locales
18 .SH SYNOPSIS
19 .nf
20 .B #include <limits.h>
21 .fi
22 .SH DESCRIPTION
23 The
24 .B MB_LEN_MAX
25 macro is the upper bound for the number of bytes needed to represent a single
26 wide character, across all locales.
27 .SH "RETURN VALUE"
28 A constant integer greater than zero.
29 .SH "CONFORMING TO"
30 C99, POSIX.1-2001.
31 .SH NOTES
32 The entities
33 .B MB_LEN_MAX
34 and
35 .I sizeof(wchar_t)
36 are totally unrelated.
37 In glibc,
38 .B MB_LEN_MAX
39 is typically 6 while
40 .I sizeof(wchar_t)
41 is 4.
42 .SH "SEE ALSO"
43 .BR MB_CUR_MAX (3)