OSDN Git Service

(split) LDP: Update releases based on LDP 3.52 release
[linuxjm/LDP_man-pages.git] / release / man3 / strnlen.3
index 8d26899..2a48d5d 100644 (file)
@@ -43,10 +43,10 @@ _GNU_SOURCE
 .ad
 .PD
 .SH 説明
-\fBstrnlen\fP() 関数は \fIs\fP が指す文字列の長さをバイト数で返す。 長さには
-終端の NULL バイト (\(aq\e0\(aq) は含まない。 また長さは最大で
-\fImaxlen\fP までであり、 \fBstrnlen\fP() は \fIs\fP の最初の \fImaxlen\fP バイト
-のみを検査し \fIs+maxlen\fP より先を検査することはない。
+The \fBstrnlen\fP()  function returns the number of bytes in the string pointed
+to by \fIs\fP, excluding the terminating null byte (\(aq\e0\(aq), but at most
+\fImaxlen\fP.  In doing this, \fBstrnlen\fP()  looks only at the first \fImaxlen\fP
+bytes at \fIs\fP and never beyond \fIs+maxlen\fP.
 .SH 返り値
 \fBstrnlen\fP() 関数は \fImaxlen\fP 以下ならば \fIstrlen(s)\fP と同じ値を返す。
 \fIs\fP の指す文字列が最大 \fImaxlen\fP バイトまでに NULL バイト
@@ -56,6 +56,6 @@ POSIX.1\-2008.
 .SH 関連項目
 \fBstrlen\fP(3)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.51 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。