OSDN Git Service

(split) LDP: Update draft and release (from the previous commit)
[linuxjm/LDP_man-pages.git] / release / man3 / strerror.3
index a1e5fe7..608d5e8 100644 (file)
@@ -110,10 +110,10 @@ GNU 仕様の \fBstrerror_r\fP() は、 エラーメッセージを格納した
 \fIbuf\fP に文字列が格納される場合は、 最大で \fIbuflen\fP バイトが格納される (\fIbuflen\fP
 が小さ過ぎたときには文字列は切り詰められ、 \fIerrnum\fP は不定である)。 文字列には必ず終端ヌル文字 (\(aq\e0\(aq) が含まれる。
 .SS strerror_l()
-\fBstrerror_l\fP()  is like \fBstrerror\fP(), but maps \fIerrnum\fP to a
-locale\-dependent error message in the locale specified by \fIlocale\fP.  The
-behavior of \fBstrerror_l\fP()  is undefined if \fIlocale\fP is the special locale
-object \fBLC_GLOBAL_LOCALE\fP or is not a valid locale object handle.
+\fBstrerror_l\fP() は \fBstrerror\fP() と同様だが、 \fIerrnum\fP を \fIlocale\fP
+で指定されたロケールのロケール依存のエラーメッセージにマッピングする。 \fIlocale\fP が特別なロケールオブジェクト
+\fBLC_GLOBAL_LOCALE\fP の場合、もしくは \fIlocale\fP が有効なロケールオブジェクトハンドルでない場合は、
+\fBstrerror_l\fP() の動作は未定義である。
 .SH 返り値
 関数 \fBstrerror\fP(), \fBstrerror_l\fP() と GNU 固有の関数 \fBstrerror_r\fP()
 はエラー内容を説明する文字列を返す。 エラー番号が未知の場合は "Unknown error nnn" という メッセージを返す。