-.\"O The function
-.\"O .BR catclose ()
-.\"O returns 0 on success, or \-1 on failure.
-´Ø¿ô
-.BR catclose ()
-¤Ï¡¢À®¸ù¤·¤¿¾ì¹ç 0 ¤ò¡¢¼ºÇÔ¤·¤¿¾ì¹ç \-1 ¤òÊÖ¤¹¡£
-.\"O .SH ENVIRONMENT
-.SH ´Ä¶ÊÑ¿ô
-.TP
-.B LC_MESSAGES
-.\"O May be the source of the
-.\"O .B LC_MESSAGES
-.\"O locale setting, and thus
-.\"O determine the language to use if
-.\"O .I flag
-.\"O is set to
-.\"O .BR NL_CAT_LOCALE .
-.B LC_MESSAGES
-¥í¥±¡¼¥ëÀßÄê¤Î¥½¡¼¥¹¤Ë¤Ê¤ë¤³¤È¤â²Äǽ¤Ê¤Î¤Ç¡¢
-.I flag
-¤¬
-.B NL_CAT_LOCALE
-¤ËÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢»ÈÍѤ¹¤ë¸À¸ì¤ò·èÄꤹ¤ë¤Î¤Ë»È¤ï¤ì¤ë¡£
-.TP
-.B LANG
-.\"O The language to use if
-.\"O .I flag
-.\"O is 0.
-.I flag
-¤¬ 0 ¤Î¾ì¹ç¡¢»ÈÍѤ¹¤ë¸À¸ì¤ò·èÄꤹ¤ë¡£
-.\"O .SH "CONFORMING TO"
-.SH ½àµò
-POSIX.1-2001.
-.\"O .\" In XPG 1987, Vol. 3 it says:
-.\"O .\" .I "The flag argument of catopen is reserved for future use"
-.\"O .\" .IR "and should be set to 0" .
-.\"O It is unclear what the source was for the constants
-.\"O .B MCLoadBySet
-.\"O and
-.\"O .B MCLoadAll
-.\"O (see below).
-.\" XPG 1987, Vol. 3 ¤Ë¤Ï¡¢¡Ö\fIcatopen ¤Î flag °ú¤¿ô¤Ï
-.\" ¾Íè»ÈÍѤ¹¤ë¤¿¤á¤ËͽÌ󤵤ì¤Æ¤¤¤ë¤Î¤Ç¡¢
-.\" 0 ¤ËÀßÄꤷ¤Æ¤ª¤¯¤Ù¤¤Ç¤¢¤ë¡£\fR¡×¤È½ñ¤«¤ì¤Æ¤¤¤ë¡£
-Äê¿ô
-.B MCLoadBySet
-¤È
-.B MCLoadAll
-¤ËÂбþ¤¹¤ë¥½¡¼¥¹¤¬²¿¤Ç¤¢¤ë¤Î¤«¤¬¤Ï¤Ã¤¤ê¤·¤Æ¤¤¤Ê¤¤ (²¼µ»²¾È)¡£
-.\"O .SH NOTES
-.SH Ãí°Õ
-.\"O The above is the POSIX.1-2001 description.
-.\"O The glibc value for
-.\"O .B NL_CAT_LOCALE
-.\"O is 1.
-.\"O (Compare
-.\"O .B MCLoadAll
-.\"O below.)
-.\"O The default path varies, but usually looks at a number of places below
-.\"O .IR /usr/share/locale .
-°Ê¾å¤Ï POSIX.1-2001 ¤Ë¤ª¤±¤ëÀâÌÀ¤Ç¤¢¤ë¡£
-glibc ¤Ç¤Ï
-.B NL_CAT_LOCALE
-¤ÎÃÍ¤Ï 1 ¤Ç¤¢¤ë
-(°Ê²¼¤Î
-.B MCLoadAll
-¤ÈÈæ³Ó¤Î¤³¤È)¡£
-¥Ç¥Õ¥©¥ë¥È¤Î¥Ñ¥¹¤Ï¾ì¹ç¤Ë¤è¤Ã¤ÆÍÍ¡¹¤Ç¤¢¤ë¤¬¡¢Ä̾ï¤Ï
-.I /usr/share/locale
-°Ê²¼¤Î¥Õ¥¡¥¤¥ë¤¬Ä´¤Ù¤é¤ì¤ë¡£
-.\"O .SS Linux Notes
-.SS Linux ¤Ë¤ª¤±¤ëÃí°Õ
-.\"O These functions are available for Linux since libc 4.4.4c.
-¤³¤ì¤é¤Î´Ø¿ô¤Ï libc.so.4.4.4c °Ê¹ß¤Ç»ÈÍѲÄǽ¤Ç¤¢¤ë¡£
-.\"O In the case of linux libc4 and libc5, the catalog descriptor
-.\"O .I nl_catd
-.\"O is a
-.\"O .BR mmap (2)'ed
-.\"O area of memory and not a file descriptor.
-linux ¤Î libc4 ¤È libc5 ¤Ë¤ª¤¤¤Æ¤Ï¡¢¥«¥¿¥í¥°¥Ç¥£¥¹¥¯¥ê¥×¥¿
-.I nl_catd
-¤Ï
-.BR mmap (2)
-¤µ¤ì¤¿¥á¥â¥ê¤ÎÎΰè¤Ç¤¢¤Ã¤Æ¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤Ç¤Ï¤Ê¤¤¡£
-.\"O The
-.\"O .I flag
-.\"O argument to
-.\"O .BR catopen ()
-.\"O should be either
-.\"O .B MCLoadBySet
-.\"O (=0) or
-.\"O .B MCLoadAll
-.\"O (=1).
-.BR catopen ()
-¤Î
-.I flag
-¤Ï¡¢
-.B MCLoadBySet
-(=0) ¤«
-.B MCLoadAll
-(=1) ¤Î¤É¤Á¤é¤«¤Ç¤¢¤ë¡£
-.\"O The former value indicates that a set from the catalog is to be
-.\"O loaded when needed, whereas the latter causes the initial call to
-.\"O .BR catopen ()
-.\"O to load the entire catalog into memory.
-Á°¼Ô¤Î¾ì¹ç¡¢¥«¥¿¥í¥°¤Î¥»¥Ã¥È¤ÏɬÍ×»þ¤Ë¥í¡¼¥É¤µ¤ì¤ë¡£
-¸å¼Ô¤Î¾ì¹ç¡¢ºÇ½é¤Î
-.BR catopen ()
-¤Î¸Æ¤Ó½Ð¤·¤Î¤È¤¤ËÁ´¤Æ¤Î¥«¥¿¥í¥°¤¬¥á¥â¥êÆâ¤Ë¥í¡¼¥É¤µ¤ì¤ë¡£
-.\"O The default search path varies, but usually looks at a number of places below
-.\"O .I /etc/locale
-.\"O and
-.\"O .IR /usr/lib/locale .
-¥Ç¥Õ¥©¥ë¥È¤Î¥Ñ¥¹¤Ï¾ì¹ç¤Ë¤è¤Ã¤ÆÍÍ¡¹¤Ç¤¢¤ë¤¬¡¢Ä̾ï¤Ï
-.I /etc/locale
-¤È
-.I /usr/share/locale
-°Ê²¼¤Î¥Õ¥¡¥¤¥ë¤¬Ä´¤Ù¤é¤ì¤ë¡£
-.\"O .SH "SEE ALSO"
-.SH ´ØÏ¢¹àÌÜ
-.BR catgets (3),
-.BR setlocale (3)
+関数 \fBcatclose\fP() は、成功した場合 0 を、失敗した場合 \-1 を返す。
+.SH 環境変数
+.TP
+\fBLC_MESSAGES\fP
+\fBLC_MESSAGES\fP ロケール設定のソースになることも可能なので、 \fIflag\fP が \fBNL_CAT_LOCALE\fP
+に設定されている場合は、使用する言語を決定するのに使われる。
+.TP
+\fBLANG\fP
+\fIflag\fP が 0 の場合、使用する言語を決定する。
+.SH 準拠
+.\" In XPG 1987, Vol. 3 it says:
+.\" .I "The flag argument of catopen is reserved for future use"
+.\" .IR "and should be set to 0" .
+POSIX.1\-2001. 定数 \fBMCLoadBySet\fP と \fBMCLoadAll\fP に対応するソースが何であるのかがはっきりしていない
+(下記参照)。
+.SH 注意
+以上は POSIX.1\-2001 における説明である。 glibc では \fBNL_CAT_LOCALE\fP の値は 1 である (以下の
+\fBMCLoadAll\fP と比較のこと)。 デフォルトのパスは場合によって様々であるが、通常は \fI/usr/share/locale\fP
+以下のファイルが調べられる。
+.SS "Linux における注意"
+これらの関数は libc.so.4.4.4c 以降で使用可能である。 linux の libc4 と libc5 においては、カタログディスクリプタ
+\fInl_catd\fP は \fBmmap\fP(2) されたメモリの領域であってファイルディスクリプタではない。 \fBcatopen\fP() の
+\fIflag\fP は、 \fBMCLoadBySet\fP (=0) か \fBMCLoadAll\fP (=1) のどちらかである。
+前者の場合、カタログのセットは必要時にロードされる。 後者の場合、最初の \fBcatopen\fP()
+の呼び出しのときに全てのカタログがメモリ内にロードされる。 デフォルトのパスは場合によって様々であるが、通常は \fI/etc/locale\fP と
+\fI/usr/share/locale\fP 以下のファイルが調べられる。
+.SH 関連項目
+\fBcatgets\fP(3), \fBsetlocale\fP(3)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.53 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。