wcslen
Section: C Library Functions (3)
Updated: 2026-02-08
Index
JM Home Page
roff page
名前
wcslen - ワイド文字文字列の長さを求める
ライブラリ
標準 C ライブラリ (libc,~-lc)
書式
#include <wchar.h>
size_t wcslen(const wchar_t *s);
説明
The wcslen() function is the wide-character equivalent of the
strlen(3) function. It determines the length of the wide-character
string pointed to by s, excluding the terminating null wide character
(L'\0').
返り値
wcslen() 関数は、s に含まれるワイド文字の数を返す。
属性
この節で使用されている用語の説明については、 attributes(7) を参照。
| インターフェース | 属性 | 値
|
|
wcslen()
| Thread safety | MT-Safe
|
標準規格
C11, POSIX.1-2008.
歴史
POSIX.1-2001, C99.
注意
In cases where the input buffer may not contain a terminating null wide
character, wcsnlen(3) should be used instead.
関連項目
strlen(3)
Index
- 名前
-
- ライブラリ
-
- 書式
-
- 説明
-
- 返り値
-
- 属性
-
- 標準規格
-
- 歴史
-
- 注意
-
- 関連項目
-
This document was created by
man2html,
using the manual pages.