OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / release / man3 / wcsnlen.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 .\"
13 .\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
14 .\" Translated Tue Oct 19 02:22:50 JST 1999
15 .\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
16 .\"
17 .TH WCSNLEN 3  2007-07-26 "GNU" "Linux Programmer's Manual"
18 .SH Ì¾Á°
19 wcsnlen \- ¸ÇÄêĹ¤Î¥ï¥¤¥Éʸ»úʸ»úÎó¤ÎŤµ¤òµá¤á¤ë
20 .SH ½ñ¼°
21 .nf
22 .B #define _GNU_SOURCE
23 .B #include <wchar.h>
24 .sp
25 .BI "size_t wcsnlen(const wchar_t *" s ", size_t " maxlen );
26 .fi
27 .SH ÀâÌÀ
28 .BR wcsnlen ()
29 ´Ø¿ô¤Ï¡¢
30 .BR strnlen (3)
31 ´Ø¿ô¤ËÂбþ¤¹¤ë¥ï¥¤¥Éʸ»ú´Ø¿ô¤Ç¤¢¤ë¡£
32 ¤³¤Î´Ø¿ô¤Ï¡¢\fIs\fP ¤¬»Ø¤¹Ê¸»úÎóÃæ¤Î¥ï¥¤¥Éʸ»ú¤Î¿ô¤òÊÖ¤¹¤¬¡¢¤³¤ì¤ÏºÇÂç
33 \fImaxlen\fP Ê¸»ú¤Þ¤Ç¤Ç¤¢¤ë¡£¤Þ¤¿¡¢½ªÃ¼¤Î L\(aq\\0\(aq Ê¸»ú¤Ï´Þ¤Þ¤Ê¤¤¡£
34 ¤³¤ì¤ò¹Ô¤¦ºÝ¤Ë¤Ï¡¢
35 .BR wcsnlen ()
36 ¤Ï \fIs\fP ¤¬»Ø¤¹¥ï¥¤¥Éʸ»úÎó¤ÎºÇ½é¤Î
37 \fImaxlen\fP Ê¸»ú¤·¤«¸«¤º¡¢·è¤·¤Æ \fIs+maxlen\fP Ê¸»ú¤òĶ¤¨¤Æʸ»úÎó¤ò
38 »²¾È¤¹¤ë¤³¤È¤Ï¤Ê¤¤¡£
39 .SH ÊÖ¤êÃÍ
40 .BR wcsnlen ()
41 ´Ø¿ô¤Ï¡¢\fIwcslen(s)\fP ¤ÎÃͤ¬ \fImaxlen\fP ¤è¤ê¾®¤µ¤±¤ì
42 ¤Ð \fIwcslen(s)\fP ¤òÊÖ¤¹¡£¤¢¤ë¤¤¤Ï¡¢\fIs\fP ¤¬»Ø¤¹¥ï¥¤¥Éʸ»úÎóÃæ¤Î
43 ºÇ½é¤Î \fImaxlen\fP Ê¸»ú¤Ë L\(aq\\0\(aq Ê¸»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð
44 \fImaxlen\fP ¤òÊÖ¤¹¡£
45 .SH ½àµò
46 ¤³¤Î´Ø¿ô¤Ï GNU ³ÈÄ¥¤Ç¤¢¤ë¡£
47 .SH ´ØÏ¢¹àÌÜ
48 .BR strnlen (3),
49 .BR wcslen (3)