OSDN Git Service

3b948dd7ea682e435102d17160502c2783b0ce07
[linuxjm/LDP_man-pages.git] / release / man3 / strcasecmp.3
1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
2 .\"
3 .\" Japanese Version Copyright (c) 1997 HIROFUMI Nishizuka
4 .\"     all rights reserved.
5 .\" Translated Thu Dec 25 10:54:13 JST 1997
6 .\"     by HIROFUMI Nishizuka <nishi@rpts.cl.nec.co.jp>
7 .\"
8 .\" Permission is granted to make and distribute verbatim copies of this
9 .\" manual provided the copyright notice and this permission notice are
10 .\" preserved on all copies.
11 .\"
12 .\" Permission is granted to copy and distribute modified versions of this
13 .\" manual under the conditions for verbatim copying, provided that the
14 .\" entire resulting derived work is distributed under the terms of a
15 .\" permission notice identical to this one.
16 .\"
17 .\" Since the Linux kernel and libraries are constantly changing, this
18 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
19 .\" responsibility for errors or omissions, or for damages resulting from
20 .\" the use of the information contained herein.  The author(s) may not
21 .\" have taken the same level of care in the production of this manual,
22 .\" which is licensed free of charge, as they might when working
23 .\" professionally.
24 .\"
25 .\" Formatted or processed versions of this manual, if unaccompanied by
26 .\" the source, must acknowledge the copyright and authors of this work.
27 .\"
28 .\" References consulted:
29 .\"     Linux libc source code
30 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
31 .\"     386BSD man pages
32 .\" Modified Sat Jul 24 18:12:45 1993 by Rik Faith (faith@cs.unc.edu)
33 .TH STRCASECMP 3  2010-09-20 "" "Linux Programmer's Manual"
34 .SH Ì¾Á°
35 strcasecmp, strncasecmp \- Æó¤Ä¤Îʸ»úÎó¤òÂçʸ»ú¾®Ê¸»ú¤ò¶èÊ̤»¤ºÈæ³Ó¤¹¤ë
36 .SH ½ñ¼°
37 .nf
38 .B #include <strings.h>
39 .sp
40 .BI "int strcasecmp(const char *" s1 ", const char *" s2 );
41 .sp
42 .BI "int strncasecmp(const char *" s1 ", const char *" s2 ", size_t " n );
43 .fi
44 .SH ÀâÌÀ
45 .BR strcasecmp ()
46 ´Ø¿ô¤Ï¡¢Æó¤Ä¤Îʸ»úÎó¡¡\fIs1\fP ¤È \fIs2\fP ¤ò¡¢
47 Âçʸ»ú¾®Ê¸»ú¤ò¶èÊ̤»¤º¤ËÈæ³Ó¤¹¤ë¡£
48 \fIs1\fP ¤¬ \fIs2\fP ¤è¤ê¤â¾®¤µ¤¤¤«¡¢Æ±¤¸¤«¡¢Â礭¤¤¤«¤Ë¤è¤Ã¤Æ¤½¤ì¤¾¤ì
49 Éé¤ÎÀ°¿ô¡¢0¡¢Àµ¤ÎÀ°¿ô¤òÊÖ¤¹¡£
50 .PP
51 .BR strncasecmp ()
52 ´Ø¿ô¤âƱÍͤǤ¢¤ë¤¬¡¢
53 \fIs1\fP ¤ÎºÇ½é¤Î \fIn\fP Ê¸»ú¤À¤±¤òÈæ³Ó¤¹¤ëÅÀ¤À¤±¤¬°Û¤Ê¤ë¡£
54 .SH ÊÖ¤êÃÍ
55 .BR strcasecmp ()
56 ¤È
57 .BR strncasecmp ()
58 ´Ø¿ô¤Ï¡¢\fIs1\fP
59 (¤Þ¤¿¤Ï¡¢¤½¤ÎºÇ½é¤Î \fIn\fP ¥Ð¥¤¥È)¤¬ \fIs2\fP ¤è¤ê¤â¾®¤µ¤¤¤«¡¢
60 Ʊ¤¸¤«¡¢Â礭¤¤¤«¤Ë¤è¤ê¡¢¤½¤ì¤¾¤ìÉé¤ÎÀ°¿ô¡¢0¡¢Àµ¤ÎÀ°¿ô¤òÊÖ¤¹¡£
61 .SH ½àµò
62 4.4BSD, POSIX.1-2001.
63 .SH ´ØÏ¢¹àÌÜ
64 .BR bcmp (3),
65 .BR memcmp (3),
66 .BR strcmp (3),
67 .BR strcoll (3),
68 .BR string (3),
69 .BR strncmp (3),
70 .BR wcscasecmp (3),
71 .BR wcsncasecmp (3)