OSDN Git Service

(split) LDP v3.24 -> v3.29 の定型的な変更内容を反映。
[linuxjm/LDP_man-pages.git] / draft / man3 / wmemchr.3
1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2 .\"
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.
7 .\"
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
12 .\"   ISO/IEC 9899:1999
13 .\"
14 .\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
15 .\" Translated Tue Oct 26 00:03:46 JST 1999
16 .\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .\"
18 .TH WMEMCHR 3 1999-07-25 "GNU" "Linux Programmer's Manual"
19 .\"O .SH NAME
20 .SH Ì¾Á°
21 .\"O wmemchr \- search a wide character in a wide-character array
22 wmemchr \- ¥ï¥¤¥Éʸ»ú¤ÎÇÛÎ󤫤é¥ï¥¤¥Éʸ»ú¤òõ¤¹
23 .\"O .SH SYNOPSIS
24 .SH ½ñ¼°
25 .nf
26 .B #include <wchar.h>
27 .sp
28 .BI "wchar_t *wmemchr(const wchar_t *" s ", wchar_t " c ", size_t " n );
29 .fi
30 .\"O .SH DESCRIPTION
31 .SH ÀâÌÀ
32 .\"O The
33 .\"O .BR wmemchr ()
34 .\"O function is the wide-character equivalent of the
35 .\"O .BR memchr (3)
36 .\"O function.
37 .\"O It searches the \fIn\fP wide characters starting at \fIs\fP for
38 .\"O the first occurrence of the wide character \fIc\fP.
39 .BR wmemchr ()
40 ´Ø¿ô¤Ï¡¢
41 .BR memchr (3)
42 ´Ø¿ô¤ËÂбþ¤¹¤ë¥ï¥¤¥Éʸ»ú´Ø¿ô¤Ç¤¢¤ë¡£
43 ¤³¤Î´Ø¿ô¤Ï¡¢\fIs\fP ¤òÀèƬ¤È¤¹¤ë \fIn\fP ¸Ä¤Î¥ï¥¤¥Éʸ»ú¤ÎÃ椫¤é¡¢ºÇ½é
44 ¤Ë¥ï¥¤¥Éʸ»ú \fIc\fP ¤¬¸½¤ï¤ì¤ë¾ì½ê¤òõ¤¹¡£
45 .\"O .SH "RETURN VALUE"
46 .SH ÊÖ¤êÃÍ
47 .\"O The
48 .\"O .BR wmemchr ()
49 .\"O function returns a pointer to the first occurrence of \fIc\fP
50 .\"O among the \fIn\fP wide characters starting at \fIs\fP, or NULL if \fIc\fP does
51 .\"O not occur among these.
52 .BR wmemchr ()
53 ´Ø¿ô¤Ï¡¢\fIs\fP ¤òÀèƬ¤È¤¹¤ë \fIn\fP ¸Ä¤Î¥ï¥¤¥Éʸ»ú¤ÎÃæ
54 ¤Ë¤ª¤¤¤ÆºÇ½é¤Ë \fIc\fP ¤¬¸½¤ï¤ì¤ë¾ì½ê¤Ø¤Î¥Ý¥¤¥ó¥¿¤òÊÖ¤¹¡£\fIc\fP ¤¬¸½
55 ¤ï¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë¤Ï NULL ¤òÊÖ¤¹¡£
56 .\"O .SH "CONFORMING TO"
57 .SH ½àµò
58 C99.
59 .\"O .SH "SEE ALSO"
60 .SH ´ØÏ¢¹àÌÜ
61 .BR memchr (3),
62 .BR wcschr (3)