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
14 .\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
15 .\" Translated Mon Oct 18 23:40:56 JST 1999
16 .\" by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
18 .TH WCSNCMP 3 1999-07-25 "GNU" "Linux Programmer's Manual"
20 wcsncmp \- 2 ¤Ä¤Î¸ÇÄêĹ¥ï¥¤¥Éʸ»úʸ»úÎó¤òÈæ³Ó¤¹¤ë
25 .BI "int wcsncmp(const wchar_t *" s1 ", const wchar_t *" s2 ", size_t " n );
31 ´Ø¿ô¤ËÂбþ¤¹¤ë¥ï¥¤¥Éʸ»ú´Ø¿ô¤Ç¤¢¤ë¡£
32 ¤³¤Î´Ø¿ô¤Ï¡¢\fIs1\fP ¤¬»Ø¤¹¥ï¥¤¥Éʸ»úʸ»úÎó¤È \fIs2\fP ¤¬»Ø¤¹¥ï¥¤¥Éʸ
33 »úʸ»úÎó¤òÈæ³Ó¤¹¤ë¤¬¡¢ºÇÂç¤Ç¤âÀèƬ¤Î¥ï¥¤¥Éʸ»ú \fIn\fP ¸Ä¤Þ¤Ç¤·¤«Èæ³Ó
34 ¤·¤Ê¤¤¡£¤Þ¤¿¤¤¤º¤ì¤«¤Îʸ»úÎó¤Ë L\(aq\\0\(aq ʸ»ú¤¬¸½¤ì¤¿¤é¡¢Èæ³Ó¤Ï
38 ´Ø¿ô¤Ï¡¢\fIs1\fP ¤È \fIs2\fP ¤¬¤½¤ì¤¾¤ì»Ø¤¹Ê¸»úÎó¤ò
39 \fIn\fP ʸ»ú¤Ë¼ý¤Þ¤ë¤è¤¦¤ËÀÚ¤êµÍ¤á¤¿¤â¤Î¤¬Åù¤·¤±¤ì¤Ð 0 ¤òÊÖ¤¹¡£
40 ¤³¤Î´Ø¿ô¤Ï¡¢°Û¤Ê¤ëʸ»ú¤¬ºÇ½é¤Ë¸½¤ï¤ì¤¿°ÌÃÖ \fIi\fP (\fIi\fP < \fIn\fP)
41 ¤Ë¤ª¤¤¤Æ¡¢¤½¤Î°ÌÃ֤ˤ¢¤ëʸ»ú \fIs1[i]\fP ¤¬ \fIs2[i]\fP ¤è¤êÂ礤±¤ì¤Ð
42 Àµ¤ÎÃͤòÊÖ¤¹¡£°Û¤Ê¤ëʸ»ú¤¬ºÇ½é¤Ë¸½¤ï¤ì¤¿°ÌÃÖ \fIi\fP (\fIi\fP < \fIn\fP)
43 ¤Ë¤ª¤¤¤Æ¡¢¤½¤Î°ÌÃ֤ˤ¢¤ëʸ»ú \fIs1[i]\fP ¤¬ \fIs2[i]\fP ¤è¤ê¾®¤µ¤±¤ì¤Ð