OSDN Git Service

81f23ccf02928a795f6d1517be8903083dda898c
[linuxjm/LDP_man-pages.git] / draft / 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 .\" Japanese Version Copyright (c) 1999 HAYAKAWA Hitoshi
16 .\"         all rights reserved.
17 .\" Translated Sep 11, 1999   HAYAKAWA Hitoshi <cz8cb01@linux.or.jp>
18 .\" 
19 .\"WORD:    multibyte   ¥Þ¥ë¥Á¥Ð¥¤¥È
20 .\"WORD:    locale  ¥í¥±¡¼¥ë
21 .\"
22 .TH MB_CUR_MAX 3 1999-07-04 "Linux" "Linux Programmer's Manual"
23 .\"O .SH NAME
24 .SH Ì¾Á°
25 .\"O MB_CUR_MAX \- maximum length of a multibyte character in the current locale
26 MB_CUR_MAX \- ¸½ºß¤Î¥í¥±¡¼¥ë¤Ç¤Î¥Þ¥ë¥Á¥Ð¥¤¥Èʸ»ú¤ÎºÇÂçĹ
27 .\"O .SH SYNOPSIS
28 .SH ½ñ¼°
29 .nf
30 .B #include <stdlib.h>
31 .fi
32 .\"O .SH DESCRIPTION
33 .SH ÀâÌÀ
34 .\"O The
35 .\"O .B MB_CUR_MAX
36 .\"O macro defines an integer expression giving
37 .\"O the maximum number of bytes needed to represent a single
38 .\"O wide character in the current locale.
39 .\"O It is locale dependent and therefore not a compile-time constant.
40 .B MB_CUR_MAX
41 ¥Þ¥¯¥í¤Ï¡¢¸½ºß¤Î¥í¥±¡¼¥ë¤Ç°ì¤Ä¤Î¥ï¥¤¥Éʸ»ú¤òɽ¸½¤¹¤ë¤¿¤á¤ËɬÍפÊ
42 ºÇÂç¥Ð¥¤¥È¿ô¤òɽ¤¹À°¿ôɽ¸½¤òÄêµÁ¤¹¤ë¡£
43 ¤³¤ì¤Ï¥í¥±¡¼¥ë°Í¸¤Ç¤¢¤ê¡¢¥³¥ó¥Ñ¥¤¥ë»þ¤Ë·è¤Þ¤ëÄê¿ô¤Ç¤Ï¤Ê¤¤¡£
44 .\"O .SH "RETURN VALUE"
45 .SH ÊÖ¤êÃÍ
46 .\"O An integer in the range [1,
47 .\"O .BR MB_LEN_MAX ].
48 .\"O The value 1 denotes traditional 8-bit encoded characters.
49 [1,
50 .BR MB_LEN_MAX ]
51 ¤ÎÈϰϤÎÀ°¿ô¤òÊÖ¤¹¡£
52 1 ¤È¤¤¤¦ÃͤÏÅÁÅýŪ¤Ê (traditional) 8-bit ¥¨¥ó¥³¡¼¥É¤µ¤ì¤¿Ê¸»ú¤ò°ÕÌ£¤¹¤ë¡£
53 .\"O .SH "CONFORMING TO"
54 .SH ½àµò
55 C99, POSIX.1-2001.
56 .\"O .SH "SEE ALSO"
57 .SH ´ØÏ¢¹àÌÜ
58 .BR MB_LEN_MAX (3),
59 .BR mblen (3),
60 .BR mbstowcs (3),
61 .BR mbtowc (3),
62 .BR wcstombs (3),
63 .BR wctomb (3)