Rechercher une page de manuel
wmemcmp
Langue: ja
Version: 1999-07-25 (fedora - 25/11/07)
Section: 3 (Bibliothèques de fonctions)
名前
wmemcmp - ワイド文字の配列 2 つを比較する書式
#include <wchar.h> int wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n);
説明
wmemcmp() 関数は、 memcmp(3) 関数に対応するワイド文字関数である。 この関数は、s1 を先頭とする n 個のワイド文字と s2 を 先頭とする n 個のワイド文字を比較する。返り値
wmemcmp() 関数は、s1 と s2 を先頭とする大きさが n の 2 つの配列が等しければ 0 を返す。 最初に異なる文字が現われた位置 i (i < n)において、そ の位置にあるワイド文字 s1[i] が s2[i] より大きければ正の整 数を返す。 最初に異なる文字が現われた位置 i (i < n)において、そ の位置にあるワイド文字 s1[i] が s2[i] より小さければ負の整 数を返す。準拠
C99.関連項目
memcmp(3), wcscmp(3)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre