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
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>
17 .TH WCSNLEN 3 2010-09-15 "GNU" "Linux Programmer's Manual"
19 wcsnlen \- ¸ÇÄêĹ¤Î¥ï¥¤¥Éʸ»úʸ»úÎó¤ÎŤµ¤òµá¤á¤ë
24 .BI "size_t wcsnlen(const wchar_t *" s ", size_t " maxlen );
28 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
29 .RB ( feature_test_macros (7)
39 _XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L
50 ´Ø¿ô¤ËÂбþ¤¹¤ë¥ï¥¤¥Éʸ»ú´Ø¿ô¤Ç¤¢¤ë¡£
51 ¤³¤Î´Ø¿ô¤Ï¡¢\fIs\fP ¤¬»Ø¤¹Ê¸»úÎóÃæ¤Î¥ï¥¤¥Éʸ»ú¤Î¿ô¤òÊÖ¤¹¤¬¡¢¤³¤ì¤ÏºÇÂç
52 \fImaxlen\fP ʸ»ú¤Þ¤Ç¤Ç¤¢¤ë¡£¤Þ¤¿¡¢½ªÃ¼¤Î L\(aq\\0\(aq ʸ»ú¤Ï´Þ¤Þ¤Ê¤¤¡£
55 ¤Ï \fIs\fP ¤¬»Ø¤¹¥ï¥¤¥Éʸ»úÎó¤ÎºÇ½é¤Î
56 \fImaxlen\fP ʸ»ú¤·¤«¸«¤º¡¢·è¤·¤Æ \fIs+maxlen\fP ʸ»ú¤òĶ¤¨¤Æʸ»úÎó¤ò
60 ´Ø¿ô¤Ï¡¢\fIwcslen(s)\fP ¤ÎÃͤ¬ \fImaxlen\fP ¤è¤ê¾®¤µ¤±¤ì
61 ¤Ð \fIwcslen(s)\fP ¤òÊÖ¤¹¡£¤¢¤ë¤¤¤Ï¡¢\fIs\fP ¤¬»Ø¤¹¥ï¥¤¥Éʸ»úÎóÃæ¤Î
62 ºÇ½é¤Î \fImaxlen\fP ʸ»ú¤Ë L\(aq\\0\(aq ʸ»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð
66 ´Ø¿ô¤Ï glibc ¥Ð¡¼¥¸¥ç¥ó 2.1 °Ê¹ß¤ÇÄ󶡤µ¤ì¤Æ¤¤¤ë¡£
68 ¤³¤Î´Ø¿ô¤Ï GNU ³ÈÄ¥¤Ç¤¢¤ë¡£