.\" Copyright (c) Bruno Haible .\" .\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA) .\" This is free documentation; you can redistribute it and/or .\" modify it under the terms of the GNU General Public License as .\" published by the Free Software Foundation; either version 2 of .\" the License, or (at your option) any later version. .\" %%%LICENSE_END .\" .\" References consulted: .\" GNU glibc-2 source code and manual .\" Dinkumware C library reference http://www.dinkumware.com/ .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html .\" .\" Modified, aeb, 990824 .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .\" .\" Japanese Version Copyright (c) 1999 HAYAKAWA Hitoshi .\" all rights reserved. .\" Translated Sep 11 1999, HAYAKAWA Hitoshi .\" .TH MB_LEN_MAX 3 2015\-07\-23 Linux "Linux Programmer's Manual" .SH 名前 MB_LEN_MAX \- 全てのロケールでの1文字の最大マルチバイト長 .SH 書式 .nf \fB#include \fP .fi .SH 説明 The \fBMB_LEN_MAX\fP macro is the maximum number of bytes needed to represent a single wide character, in any of the supported locales. .SH 返り値 0 より大きいの整数型の定数。 .SH 準拠 POSIX.1\-2001, POSIX.1\-2008, C99. .SH 注意 .\" For an explanation of why the limit was raised to 16, see .\" http://lists.gnu.org/archive/html/bug-gnulib/2015-05/msg00001.html .\" From: Bruno Haible .\" Subject: Re: why is MB_LEN_MAX so large (16) on glibc .\" Date: Thu, 14 May 2015 02:30:14 +0200 \fBMB_LEN_MAX\fP と \fIsizeof(wchar_t)\fP の値にはなんの関係もない。 glibc では \fBMB_LEN_MAX\fP は通常は 16 (glibc バージョン 2.2 より前では 6) で、 \fIsizeof(wchar_t)\fP は 4 である。 .SH 関連項目 \fBMB_CUR_MAX\fP(3) .SH この文書について この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 5.10 の一部である。プロジェクトの説明とバグ報告に関する情報は \%https://www.kernel.org/doc/man\-pages/ に書かれている。