1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
8 .\" References consulted:
9 .\" GNU glibc-2 source code and manual
10 .\" Dinkumware C library reference http://www.dinkumware.com/
11 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
13 .\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
14 .\" Translated Tue Oct 26 00:39:25 JST 1999
15 .\" by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .TH WMEMCMP 3 1999-07-25 "GNU" "Linux Programmer's Manual"
19 wmemcmp \- ¥ï¥¤¥Éʸ»ú¤ÎÇÛÎó 2 ¤Ä¤òÈæ³Ó¤¹¤ë
24 .BI "int wmemcmp(const wchar_t *" s1 ", const wchar_t *" s2 ", size_t " n );
30 ´Ø¿ô¤ËÂбþ¤¹¤ë¥ï¥¤¥Éʸ»ú´Ø¿ô¤Ç¤¢¤ë¡£
31 ¤³¤Î´Ø¿ô¤Ï¡¢\fIs1\fP ¤òÀèƬ¤È¤¹¤ë \fIn\fP ¸Ä¤Î¥ï¥¤¥Éʸ»ú¤È \fIs2\fP ¤ò
32 ÀèƬ¤È¤¹¤ë \fIn\fP ¸Ä¤Î¥ï¥¤¥Éʸ»ú¤òÈæ³Ó¤¹¤ë¡£
35 ´Ø¿ô¤Ï¡¢\fIs1\fP ¤È \fIs2\fP ¤òÀèƬ¤È¤¹¤ëÂ礤µ¤¬
36 \fIn\fP ¤Î 2 ¤Ä¤ÎÇÛÎó¤¬Åù¤·¤±¤ì¤Ð 0 ¤òÊÖ¤¹¡£
37 ºÇ½é¤Ë°Û¤Ê¤ëʸ»ú¤¬¸½¤ï¤ì¤¿°ÌÃÖ \fIi\fP (\fIi\fP < \fIn\fP)¤Ë¤ª¤¤¤Æ¡¢¤½
38 ¤Î°ÌÃ֤ˤ¢¤ë¥ï¥¤¥Éʸ»ú \fIs1[i]\fP ¤¬ \fIs2[i]\fP ¤è¤êÂ礤±¤ì¤ÐÀµ¤ÎÀ°
40 ºÇ½é¤Ë°Û¤Ê¤ëʸ»ú¤¬¸½¤ï¤ì¤¿°ÌÃÖ \fIi\fP (\fIi\fP < \fIn\fP)¤Ë¤ª¤¤¤Æ¡¢¤½
41 ¤Î°ÌÃ֤ˤ¢¤ë¥ï¥¤¥Éʸ»ú \fIs1[i]\fP ¤¬ \fIs2[i]\fP ¤è¤ê¾®¤µ¤±¤ì¤ÐÉé¤ÎÀ°