MB_LEN_MAX

Section: C Library Functions (3)
Updated: 2026-02-08
Index JM Home Page roff page
 

名前

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

ライブラリ

標準 C ライブラリ (libc)  

書式

#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 より大きいの整数型の定数。  

標準規格

C11, POSIX.1-2008.  

歴史

C99, POSIX.1-2001.  

注意

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

関連項目

MB_CUR_MAX(3)


 

Index

名前
ライブラリ
書式
説明
返り値
標準規格
歴史
注意
関連項目

This document was created by man2html, using the manual pages.