.\" 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
+.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
.\"
.\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
.\" Translated Tue Oct 19 02:22:50 JST 1999
.\" by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
.\"
-.TH WCSNLEN 3 2007-07-26 "GNU" "Linux Programmer's Manual"
+.TH WCSNLEN 3 2010-09-15 "GNU" "Linux Programmer's Manual"
.\"O .SH NAME
.SH ̾Á°
.\"O wcsnlen \- determine the length of a fixed-size wide-character string
.\"O .SH SYNOPSIS
.SH ½ñ¼°
.nf
-.B #define _GNU_SOURCE
.B #include <wchar.h>
.sp
.BI "size_t wcsnlen(const wchar_t *" s ", size_t " maxlen );
.fi
+.sp
+.in -4n
+.\"O Feature Test Macro Requirements for glibc (see
+.\"O .BR feature_test_macros (7)):
+glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
+.RB ( feature_test_macros (7)
+»²¾È):
+.in
+.sp
+.BR wcsncasecmp ():
+.PD 0
+.ad l
+.RS 4
+.TP 4
+.\"O Since glibc 2.10:
+glibc 2.10 °Ê¹ß:
+_XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L
+.TP
+.\"O Before glibc 2.10:
+glibc 2.10 ¤è¤êÁ°:
+_GNU_SOURCE
+.RE
+.ad
+.PD
.\"O .SH DESCRIPTION
.SH ÀâÌÀ
.\"O The
¤Ð \fIwcslen(s)\fP ¤òÊÖ¤¹¡£¤¢¤ë¤¤¤Ï¡¢\fIs\fP ¤¬»Ø¤¹¥ï¥¤¥Éʸ»úÎóÃæ¤Î
ºÇ½é¤Î \fImaxlen\fP ʸ»ú¤Ë L\(aq\\0\(aq ʸ»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð
\fImaxlen\fP ¤òÊÖ¤¹¡£
+.\"O .SH VERSIONS
+.SH ¥Ð¡¼¥¸¥ç¥ó
+.\"O The
+.\"O .BR wcsnlen ()
+.\"O function is provided in glibc since version 2.1.
+.BR wcsnlen ()
+´Ø¿ô¤Ï glibc ¥Ð¡¼¥¸¥ç¥ó 2.1 °Ê¹ß¤ÇÄ󶡤µ¤ì¤Æ¤¤¤ë¡£
.\"O .SH "CONFORMING TO"
.SH ½àµò
.\"O This function is a GNU extension.