OSDN Git Service

Update draft pages
[linuxjm/LDP_man-pages.git] / draft / man3 / catopen.3
index 54ffcbd..3b77289 100644 (file)
@@ -38,7 +38,7 @@
 .\" Updated & Modified Mon Jan 14 06:48:39 JST 2002
 .\"     by Yuichi SATO <ysato@h4.dion.ne.jp>
 .\"
-.TH CATOPEN 3 2001\-12\-14 GNU "Linux Programmer's Manual"
+.TH CATOPEN 3 2014\-08\-19 GNU "Linux Programmer's Manual"
 .SH 名前
 catopen, catclose \- メッセージカタログのオープン/クローズ
 .SH 書式
@@ -84,22 +84,46 @@ catopen, catclose \- メッセージカタログのオープン/クローズ
 .\" 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 に対応するソースが何であるのかがはっきりしていない
-(下記参照)。
+.\"
+.\" It is unclear what the source was for the constants
+.\" .B MCLoadBySet
+.\" and
+.\" .B MCLoadAll
+.\" (see below).
+POSIX.1\-2001.
 .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 以下のファイルが調べられる。
+.\" (Compare
+.\" .B MCLoadAll
+.\" below.)
+.\" .SS Linux notes
+.\" These functions are available for Linux since libc 4.4.4c.
+.\" In the case of linux libc4 and libc5, the catalog descriptor
+.\" .I nl_catd
+.\" is a
+.\" .BR mmap (2)'ed
+.\" area of memory and not a file descriptor.
+.\" The
+.\" .I flag
+.\" argument to
+.\" .BR catopen ()
+.\" should be either
+.\" .B MCLoadBySet
+.\" (=0) or
+.\" .B MCLoadAll
+.\" (=1).
+.\" The former value indicates that a set from the catalog is to be
+.\" loaded when needed, whereas the latter causes the initial call to
+.\" .BR catopen ()
+.\" to load the entire catalog into memory.
+.\" The default search path varies, but usually looks at a number of places below
+.\" .I /etc/locale
+.\" and
+.\" .IR /usr/lib/locale .
+以上は POSIX.1\-2001 における説明である。 glibc では \fBNL_CAT_LOCALE\fP の値は 1 である。
+デフォルトのパスは場合によって様々であるが、通常は \fI/usr/share/locale\fP 以下のファイルが調べられる。
 .SH 関連項目
 \fBcatgets\fP(3), \fBsetlocale\fP(3)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.64 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.78 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。