]>
Commit | Line | Data |
---|---|---|
fea681da MK |
1 | .\" Copyright (c) Bruno Haible <haible@clisp.cons.org> |
2 | .\" | |
89e3ffe9 | 3 | .\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA) |
fea681da MK |
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. | |
fe382ebf | 8 | .\" %%%LICENSE_END |
fea681da MK |
9 | .\" |
10 | .\" References consulted: | |
11 | .\" GNU glibc-2 source code and manual | |
12 | .\" Dinkumware C library reference http://www.dinkumware.com/ | |
008f1ecc | 13 | .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html |
fea681da MK |
14 | .\" |
15 | .\" Modified, aeb, 990824 | |
16 | .\" | |
460495ca | 17 | .TH MB_CUR_MAX 3 2015-08-08 "Linux" "Linux Programmer's Manual" |
fea681da MK |
18 | .SH NAME |
19 | MB_CUR_MAX \- maximum length of a multibyte character in the current locale | |
20 | .SH SYNOPSIS | |
21 | .nf | |
22 | .B #include <stdlib.h> | |
23 | .fi | |
24 | .SH DESCRIPTION | |
25 | The | |
26 | .B MB_CUR_MAX | |
27 | macro defines an integer expression giving | |
28 | the maximum number of bytes needed to represent a single | |
29 | wide character in the current locale. | |
b5360edb | 30 | This value is locale dependent and therefore not a compile-time constant. |
47297adb | 31 | .SH RETURN VALUE |
fd7193f5 | 32 | An integer in the range [1, |
74aace8a | 33 | .BR MB_LEN_MAX ]. |
fea681da | 34 | The value 1 denotes traditional 8-bit encoded characters. |
47297adb | 35 | .SH CONFORMING TO |
8881662a | 36 | POSIX.1-2001, POSIX.1-2008, C99. |
47297adb | 37 | .SH SEE ALSO |
fea681da MK |
38 | .BR MB_LEN_MAX (3), |
39 | .BR mblen (3), | |
40 | .BR mbstowcs (3), | |
41 | .BR mbtowc (3), | |
42 | .BR wcstombs (3), | |
43 | .BR wctomb (3) |