MB_LEN_MAX

Section: Linux Programmer's Manual (3)
Updated: 2015-07-23
Index JM Home Page
 

名前

MB_LEN_MAX - 全てのロケールでの1文字の最大マルチバイト長  

書式

#include <limits.h>
 

説明

The MB_LEN_MAX macro is the maximum number of bytes needed to represent a single wide character, in any of the supported locales.  

返り値

0 より大きいの整数型の定数。  

準拠

POSIX.1-2001, POSIX.1-2008, C99.  

注意

MB_LEN_MAX と sizeof(wchar_t) の値にはなんの関係もない。 glibc では MB_LEN_MAX は通常は 16 (glibc バージョン 2.2 より前では 6) で、 sizeof(wchar_t) は 4 である。  

関連項目

MB_CUR_MAX(3)  

この文書について

この man ページは Linux man-pages プロジェクトのリリース 5.10 の一部である。プロジェクトの説明とバグ報告に関する情報は https://www.kernel.org/doc/man-pages/ に書かれている。

関連キーワード

wchar   ロケール   最大   マルチバイト   limits   macro   maximum   number   bytes   needed   represent   single   wide   character   supported   locales   整数型   定数   関係   通常   リリース   一部   バグ   報告   https

Linux マニュアル 一覧

関連するコマンド・関数

MB_CUR_MAX.3   wcstoimax.3   wcstoumax.3   mbstowcs.3   wmemset.3   putwchar.3
 

Index

名前
書式
説明
返り値
準拠
注意
関連項目
この文書について

This document was created by man2html, using the manual pages.
Time: 04:39:13 GMT, October 11, 2026