]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man3/MB_CUR_MAX.3
MB_CUR_MAX.3, MB_LEN_MAX.3, btowc.3, fgetwc.3, fgetws.3, fputwc.3, fputws.3, fwide...
[thirdparty/man-pages.git] / man3 / MB_CUR_MAX.3
1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2 .\"
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.
8 .\" %%%LICENSE_END
9 .\"
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
14 .\"
15 .\" Modified, aeb, 990824
16 .\"
17 .TH MB_CUR_MAX 3 1999-07-04 "Linux" "Linux Programmer's Manual"
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.
30 It is locale dependent and therefore not a compile-time constant.
31 .SH RETURN VALUE
32 An integer in the range [1,
33 .BR MB_LEN_MAX ].
34 The value 1 denotes traditional 8-bit encoded characters.
35 .SH CONFORMING TO
36 C99, POSIX.1-2001.
37 .SH SEE ALSO
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)