\fB const char *\fP\fImessage\fP\fB);\fP
.fi
.SH 説明
-\fBcatgets\fP() reads the message \fImessage_number\fP, in set \fIset_number\fP,
-from the message catalog identified by \fIcatalog\fP, where \fIcatalog\fP is a
-catalog descriptor returned from an earlier call to \fBcatopen\fP(3). The
-fourth argument, \fImessage\fP, points to a default message string which will
-be returned by \fBcatgets\fP() if the identified message catalog is not
-currently available. The message\-text is contained in an internal buffer
-area and should be copied by the application if it is to be saved or
-modified. The return string is always terminated with a null byte
-(\(aq\e0\(aq).
+\fBcatgets\fP() は catalog で指定されたメッセージカタログから、 セット \fIset_number\fP のメッセージ
+\fImessage_number\fP を読み取る。 \fIcatalog\fP は、 \fBcatopen\fP(3) の呼び出しによって得られたカタログ
+ディスクリプタを指定する。 4番目の引数 \fImessage\fP は、指定のメッセージカタログが現在利用できない 場合に \fBcatgets\fP()
+が返すデフォルトのメッセージを指す。 メッセージテキストは内部のバッファ領域に格納されており、
+保存や変更を行う場合にはアプリケーション側でコピーする必要がある。 返される文字列は常にヌルバイト (\(aq\e0\(aq) で終端される。
.SH 返り値
.LP
成功した場合、 \fBcatgets\fP() は内部のバッファ領域へのポインタを返す。 ここにはヌル文字で終端されたメッセージ文字列が格納されている。