OSDN Git Service

(split) LDP man-pages の original/ を v3.29 に更新。
[linuxjm/LDP_man-pages.git] / original / man3 / MB_CUR_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_CUR_MAX 3 1999-07-04 "Linux" "Linux Programmer's Manual"
16 .SH NAME
17 MB_CUR_MAX \- maximum length of a multibyte character in the current locale
18 .SH SYNOPSIS
19 .nf
20 .B #include <stdlib.h>
21 .fi
22 .SH DESCRIPTION
23 The
24 .B MB_CUR_MAX
25 macro defines an integer expression giving
26 the maximum number of bytes needed to represent a single
27 wide character in the current locale.
28 It is locale dependent and therefore not a compile-time constant.
29 .SH "RETURN VALUE"
30 An integer in the range [1,
31 .BR MB_LEN_MAX ].
32 The value 1 denotes traditional 8-bit encoded characters.
33 .SH "CONFORMING TO"
34 C99, POSIX.1-2001.
35 .SH "SEE ALSO"
36 .BR MB_LEN_MAX (3),
37 .BR mblen (3),
38 .BR mbstowcs (3),
39 .BR mbtowc (3),
40 .BR wcstombs (3),
41 .BR wctomb (3)