]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/MB_CUR_MAX.3
perf_event_open.2: srcfix
[thirdparty/man-pages.git] / man3 / MB_CUR_MAX.3
CommitLineData
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
19MB_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
25The
26.B MB_CUR_MAX
27macro defines an integer expression giving
28the maximum number of bytes needed to represent a single
29wide character in the current locale.
30It is locale dependent and therefore not a compile-time constant.
47297adb 31.SH RETURN VALUE
fd7193f5 32An integer in the range [1,
74aace8a 33.BR MB_LEN_MAX ].
fea681da 34The value 1 denotes traditional 8-bit encoded characters.
47297adb 35.SH CONFORMING TO
8881662a 36POSIX.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)