1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
.\"
.\" 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.
.\"
.\" 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
.\" ISO/IEC 9899:1999
.\"
.\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
.\" Translated Mon Oct 18 23:40:56 JST 1999
.\" by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
.\"
.TH WCSNCMP 3 1999-07-25 "GNU" "Linux Programmer's Manual"
.SH ̾
wcsncmp \- 2 ĤθĹ磻ʸʸӤ
.SH
.nf
.B #include <wchar.h>
.sp
.BI "int wcsncmp(const wchar_t *" s1 ", const wchar_t *" s2 ", size_t " n );
.fi
.SH
.BR wcsncmp ()
ؿϡ
.BR strncmp (3)
ؿб磻ʸؿǤ롣
δؿϡ\fIs1\fP ؤ磻ʸʸ \fIs2\fP ؤ磻ʸ
ʸӤ뤬ǤƬΥ磻ʸ \fIn\fP ĤޤǤ
ʤޤ줫ʸ L\(aq\\0\(aq ʸ줿顢Ӥ
ΰ֤ǽλ롣
.SH ֤
.BR wcsncmp ()
ؿϡ\fIs1\fP \fIs2\fP 줾ؤʸ
\fIn\fP ʸ˼ޤ褦ڤͤΤ 0 ֤
δؿϡۤʤʸǽ˸줿 \fIi\fP (\fIi\fP < \fIn\fP)
ˤơΰ֤ˤʸ \fIs1[i]\fP \fIs2[i]\fP 礭
֤ͤۤʤʸǽ˸줿 \fIi\fP (\fIi\fP < \fIn\fP)
ˤơΰ֤ˤʸ \fIs1[i]\fP \fIs2[i]\fP 꾮
֤ͤ
.SH
C99.
.SH Ϣ
.BR strncmp (3),
.BR wcsncasecmp (3)
|