msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2012-03-19 23:50+0900\n"
-"PO-Revision-Date: 2012-03-22 01:43+0900\n"
+"POT-Creation-Date: 2013-08-15 19:31+0900\n"
+"PO-Revision-Date: 2013-08-15 20:08+0900\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"Content-Transfer-Encoding: 8bit\n"
#. type: TH
-#: build/C/man3/btree.3:34
+#: build/C/man3/btree.3:36
#, no-wrap
msgid "BTREE"
msgstr "BTREE"
#. type: TH
-#: build/C/man3/btree.3:34 build/C/man3/hash.3:34 build/C/man3/recno.3:34
+#: build/C/man3/btree.3:36 build/C/man3/hash.3:36 build/C/man3/recno.3:36
#, no-wrap
-msgid "1994-08-18"
-msgstr "1994-08-18"
+msgid "2012-04-23"
+msgstr "2012-04-23"
#. type: TH
-#: build/C/man3/btree.3:34 build/C/man3/dbopen.3:34 build/C/man3/hash.3:34
-#: build/C/man3/mpool.3:34 build/C/man3/recno.3:34
+#: build/C/man3/btree.3:36 build/C/man3/dbopen.3:36 build/C/man3/hash.3:36
+#: build/C/man3/mpool.3:36 build/C/man3/recno.3:36
#, no-wrap
msgid "Linux Programmer's Manual"
msgstr "Linux Programmer's Manual"
#. type: SH
-#: build/C/man3/btree.3:36 build/C/man3/dbopen.3:36 build/C/man3/hash.3:36
-#: build/C/man3/mpool.3:36 build/C/man3/recno.3:36
+#: build/C/man3/btree.3:38 build/C/man3/dbopen.3:38 build/C/man3/hash.3:38
+#: build/C/man3/mpool.3:38 build/C/man3/recno.3:38
#, no-wrap
msgid "NAME"
msgstr "名前"
#. type: Plain text
-#: build/C/man3/btree.3:38
+#: build/C/man3/btree.3:40
msgid "btree - btree database access method"
msgstr "btree - btree データベースへのアクセスメソッド"
#. type: SH
-#: build/C/man3/btree.3:38 build/C/man3/dbopen.3:38 build/C/man3/hash.3:38
-#: build/C/man3/mpool.3:38 build/C/man3/recno.3:38
+#: build/C/man3/btree.3:40 build/C/man3/dbopen.3:40 build/C/man3/hash.3:40
+#: build/C/man3/mpool.3:40 build/C/man3/recno.3:40
#, no-wrap
msgid "SYNOPSIS"
msgstr "書式"
#. type: Plain text
-#: build/C/man3/btree.3:43 build/C/man3/hash.3:43 build/C/man3/recno.3:43
+#: build/C/man3/btree.3:45 build/C/man3/hash.3:45 build/C/man3/recno.3:45
#, no-wrap
msgid ""
"B<#include E<lt>sys/types.hE<gt>\n"
"#include E<lt>db.hE<gt>>\n"
#. type: SH
-#: build/C/man3/btree.3:45 build/C/man3/dbopen.3:48 build/C/man3/hash.3:45
-#: build/C/man3/mpool.3:60 build/C/man3/recno.3:45
+#: build/C/man3/btree.3:47 build/C/man3/dbopen.3:51 build/C/man3/hash.3:47
+#: build/C/man3/mpool.3:62 build/C/man3/recno.3:47
#, no-wrap
msgid "DESCRIPTION"
msgstr "説明"
#. type: Plain text
-#: build/C/man3/btree.3:53
+#: build/C/man3/btree.3:54 build/C/man3/dbopen.3:58 build/C/man3/hash.3:54
+#: build/C/man3/mpool.3:69 build/C/man3/recno.3:54
+msgid ""
+"I<Note well>: This page documents interfaces provided in glibc up until "
+"version 2.1. Since version 2.2, glibc no longer provides these interfaces. "
+"Probably, you are looking for the APIs provided by the I<libdb> library "
+"instead."
+msgstr ""
+"I<大事な注意>:\n"
+"このページは、バージョン 2.1 までの glibc が提供するインターフェースに\n"
+"ついて説明している。バージョン 2.2 以降の glibc では、もはやこれらの\n"
+"インターフェースは提供されていない。おそらく、このページではなく、\n"
+"I<libdb> ライブラリが提供する API をお探しなのだろう。"
+
+#. type: Plain text
+#: build/C/man3/btree.3:62
msgid ""
"The routine B<dbopen>(3) is the library interface to database files. One "
"of the supported file formats is btree files. The general description of "
"る。"
#. type: Plain text
-#: build/C/man3/btree.3:56
+#: build/C/man3/btree.3:65
msgid ""
"The btree data structure is a sorted, balanced tree structure storing "
"associated key/data pairs."
"キー/データ対を格納している。"
#. type: Plain text
-#: build/C/man3/btree.3:62
+#: build/C/man3/btree.3:71
msgid ""
"The btree access method specific data structure provided to B<dbopen>(3) is "
"defined in the I<E<lt>db.hE<gt>> include file as follows:"
"I<E<lt>db.hE<gt>> インクルードファイルで次のように定義されている。"
#. type: Plain text
-#: build/C/man3/btree.3:75
+#: build/C/man3/btree.3:84
#, no-wrap
msgid ""
"typedef struct {\n"
"} BTREEINFO;\n"
#. type: Plain text
-#: build/C/man3/btree.3:79 build/C/man3/hash.3:76
+#: build/C/man3/btree.3:88 build/C/man3/hash.3:85
msgid "The elements of this structure are as follows:"
msgstr "この構造体の要素を以下に示す。"
#. type: TP
-#: build/C/man3/btree.3:79
+#: build/C/man3/btree.3:88
#, no-wrap
msgid "I<flags>"
msgstr "I<flags>"
#. type: Plain text
-#: build/C/man3/btree.3:82 build/C/man3/recno.3:88
+#: build/C/man3/btree.3:91 build/C/man3/recno.3:97
msgid "The flag value is specified by ORing any of the following values:"
msgstr "I<flags> の値は以下の値の論理和で指定される。"
#. type: TP
-#: build/C/man3/btree.3:83
+#: build/C/man3/btree.3:92
#, no-wrap
msgid "B<R_DUP>"
msgstr "B<R_DUP>"
#. type: Plain text
-#: build/C/man3/btree.3:102
+#: build/C/man3/btree.3:111
msgid ""
"Permit duplicate keys in the tree, that is, permit insertion if the key to "
"be inserted already exists in the tree. The default behavior, as described "
"ラグが指定された場合、ツリーに複製キーを挿入しようとすると失敗する。"
#. type: Plain text
-#: build/C/man3/btree.3:112
+#: build/C/man3/btree.3:121
msgid ""
"If the database contains duplicate keys, the order of retrieval of key/data "
"pairs is undefined if the I<get> routine is used, however, I<seq> routine "
"くる。"
#. type: TP
-#: build/C/man3/btree.3:113 build/C/man3/hash.3:93 build/C/man3/recno.3:120
+#: build/C/man3/btree.3:122 build/C/man3/hash.3:102 build/C/man3/recno.3:129
#, no-wrap
msgid "I<cachesize>"
msgstr "I<cachesize>"
#. type: Plain text
-#: build/C/man3/btree.3:128
+#: build/C/man3/btree.3:137
msgid ""
"A suggested maximum size (in bytes) of the memory cache. This value is "
"I<only> advisory, and the access method will allocate more memory rather "
"使われる。"
#. type: TP
-#: build/C/man3/btree.3:128
+#: build/C/man3/btree.3:137
#, no-wrap
msgid "I<maxkeypage>"
msgstr "I<maxkeypage>"
#. is 0 (no maximum number of keys is specified) the page fill factor is
#. made as large as possible (which is almost invariably what is wanted).
#. type: Plain text
-#: build/C/man3/btree.3:140
+#: build/C/man3/btree.3:149
msgid ""
"The maximum number of keys which will be stored on any single page. Not "
"currently implemented."
msgstr "単一ページに納められる最大キー数である。現在実装されていない。"
#. type: TP
-#: build/C/man3/btree.3:140
+#: build/C/man3/btree.3:149
#, no-wrap
msgid "I<minkeypage>"
msgstr "I<minkeypage>"
#. type: Plain text
-#: build/C/man3/btree.3:150
+#: build/C/man3/btree.3:159
msgid ""
"The minimum number of keys which will be stored on any single page. This "
"value is used to determine which keys will be stored on overflow pages, that "
"れていない) の場合、値として 2 が使われる。"
#. type: TP
-#: build/C/man3/btree.3:150 build/C/man3/recno.3:129
+#: build/C/man3/btree.3:159 build/C/man3/recno.3:138
#, no-wrap
msgid "I<psize>"
msgstr "I<psize>"
#. type: Plain text
-#: build/C/man3/btree.3:158
+#: build/C/man3/btree.3:167
msgid ""
"Page size is the size (in bytes) of the pages used for nodes in the tree. "
"The minimum page size is 512 bytes and the maximum page size is 64K. If "
"合、 ファイルシステムの I/O ブロックサイズに基づいて決められる。"
#. type: TP
-#: build/C/man3/btree.3:158
+#: build/C/man3/btree.3:167
#, no-wrap
msgid "I<compare>"
msgstr "I<compare>"
#. type: Plain text
-#: build/C/man3/btree.3:170
+#: build/C/man3/btree.3:179
msgid ""
"Compare is the key comparison function. It must return an integer less "
"than, equal to, or greater than zero if the first key argument is considered "
"短いキーは長いキーより小さいことになる。"
#. type: TP
-#: build/C/man3/btree.3:170
+#: build/C/man3/btree.3:179
#, no-wrap
msgid "I<prefix>"
msgstr "I<prefix>"
#. type: Plain text
-#: build/C/man3/btree.3:189
+#: build/C/man3/btree.3:198
msgid ""
"Prefix is the prefix comparison function. If specified, this routine must "
"return the number of bytes of the second key argument which are necessary to "
"指定されている場合は、前置比較は行われない。"
#. type: TP
-#: build/C/man3/btree.3:189 build/C/man3/hash.3:108 build/C/man3/recno.3:141
+#: build/C/man3/btree.3:198 build/C/man3/hash.3:117 build/C/man3/recno.3:150
#, no-wrap
msgid "I<lorder>"
msgstr "I<lorder>"
#. type: Plain text
-#: build/C/man3/btree.3:197 build/C/man3/recno.3:149
+#: build/C/man3/btree.3:206 build/C/man3/recno.3:158
msgid ""
"The byte order for integers in the stored database metadata. The number "
"should represent the order as an integer; for example, big endian order "
"れているバイトオーダーが使われる。"
#. type: Plain text
-#: build/C/man3/btree.3:208
+#: build/C/man3/btree.3:217
msgid ""
"If the file already exists (and the B<O_TRUNC> flag is not specified), the "
"values specified for the arguments I<flags>, I<lorder> and I<psize> are "
"た時に使った値が用いられる。"
#. type: Plain text
-#: build/C/man3/btree.3:210
+#: build/C/man3/btree.3:219
msgid ""
"Forward sequential scans of a tree are from the least key to the greatest."
msgstr "ツリーの前方順検索は、最小キーから最大キーに向かって行われる。"
#. type: Plain text
-#: build/C/man3/btree.3:216
+#: build/C/man3/btree.3:225
msgid ""
"Space freed up by deleting key/data pairs from the tree is never reclaimed, "
"although it is normally made available for reuse. This means that the btree "
"しいツリーを作るか、だけである。"
#. type: Plain text
-#: build/C/man3/btree.3:222
+#: build/C/man3/btree.3:231
msgid ""
"Searches, insertions, and deletions in a btree will all complete in O lg "
"base N where base is the average fill factor. Often, inserting ordered data "
"than normal page fill factor."
#. type: SH
-#: build/C/man3/btree.3:222 build/C/man3/dbopen.3:471 build/C/man3/hash.3:142
-#: build/C/man3/mpool.3:176 build/C/man3/recno.3:201
+#: build/C/man3/btree.3:231 build/C/man3/dbopen.3:481 build/C/man3/hash.3:151
+#: build/C/man3/mpool.3:185 build/C/man3/recno.3:210
#, no-wrap
msgid "ERRORS"
msgstr "エラー"
#. type: Plain text
-#: build/C/man3/btree.3:229
+#: build/C/man3/btree.3:238
msgid ""
"The I<btree> access method routines may fail and set I<errno> for any of the "
"errors specified for the library routine B<dbopen>(3)."
"(3) で定義されているエラーのいずれかを I<errno> として返す。"
#. type: SH
-#: build/C/man3/btree.3:229 build/C/man3/dbopen.3:533 build/C/man3/hash.3:149
-#: build/C/man3/recno.3:213
+#: build/C/man3/btree.3:238 build/C/man3/dbopen.3:543 build/C/man3/hash.3:158
+#: build/C/man3/recno.3:222
#, no-wrap
msgid "BUGS"
msgstr "バグ"
#. type: Plain text
-#: build/C/man3/btree.3:231 build/C/man3/recno.3:215
+#: build/C/man3/btree.3:240 build/C/man3/recno.3:224
msgid "Only big and little endian byte order is supported."
msgstr ""
"バイトオーダーとしてはビッグエンディアンとリトルエンディアンのみが サポートさ"
"れている。"
#. type: SH
-#: build/C/man3/btree.3:231 build/C/man3/dbopen.3:544 build/C/man3/hash.3:151
-#: build/C/man3/mpool.3:221 build/C/man3/recno.3:215
+#: build/C/man3/btree.3:240 build/C/man3/dbopen.3:554 build/C/man3/hash.3:160
+#: build/C/man3/mpool.3:230 build/C/man3/recno.3:224
#, no-wrap
msgid "SEE ALSO"
msgstr "関連項目"
#. type: Plain text
-#: build/C/man3/btree.3:236
+#: build/C/man3/btree.3:245
msgid "B<dbopen>(3), B<hash>(3), B<mpool>(3), B<recno>(3)"
msgstr "B<dbopen>(3), B<hash>(3), B<mpool>(3), B<recno>(3)"
#. type: Plain text
-#: build/C/man3/btree.3:239
+#: build/C/man3/btree.3:248
msgid ""
"I<The Ubiquitous B-tree>, Douglas Comer, ACM Comput. Surv. 11, 2 (June "
"1979), 121-138."
"1979), 121-138."
#. type: Plain text
-#: build/C/man3/btree.3:243
+#: build/C/man3/btree.3:252
msgid ""
"I<Prefix B-trees>, Bayer and Unterauer, ACM Transactions on Database "
"Systems, Vol. 2, 1 (March 1977), 11-26."
"Systems, Vol. 2, 1 (March 1977), 11-26."
#. type: Plain text
-#: build/C/man3/btree.3:246
+#: build/C/man3/btree.3:255
msgid ""
"I<The Art of Computer Programming Vol. 3: Sorting and Searching>, D.E. "
"Knuth, 1968, pp 471-480."
"Knuth, 1968, pp 471-480."
#. type: SH
-#: build/C/man3/btree.3:246 build/C/man3/dbopen.3:552 build/C/man3/hash.3:162
-#: build/C/man3/mpool.3:226 build/C/man3/recno.3:224
+#: build/C/man3/btree.3:255 build/C/man3/dbopen.3:562 build/C/man3/hash.3:171
+#: build/C/man3/mpool.3:235 build/C/man3/recno.3:233
#, no-wrap
msgid "COLOPHON"
-msgstr ""
+msgstr "この文書について"
#. type: Plain text
-#: build/C/man3/btree.3:253 build/C/man3/dbopen.3:559 build/C/man3/hash.3:169
-#: build/C/man3/mpool.3:233 build/C/man3/recno.3:231
+#: build/C/man3/btree.3:262 build/C/man3/dbopen.3:569 build/C/man3/hash.3:178
+#: build/C/man3/mpool.3:242 build/C/man3/recno.3:240
msgid ""
-"This page is part of release 3.35 of the Linux I<man-pages> project. A "
+"This page is part of release 3.53 of the Linux I<man-pages> project. A "
"description of the project, and information about reporting bugs, can be "
-"found at http://man7.org/linux/man-pages/."
+"found at \\%http://www.kernel.org/doc/man-pages/."
msgstr ""
+"この man ページは Linux I<man-pages> プロジェクトのリリース 3.53 の一部\n"
+"である。プロジェクトの説明とバグ報告に関する情報は\n"
+"http://www.kernel.org/doc/man-pages/ に書かれている。"
#. type: TH
-#: build/C/man3/dbopen.3:34
+#: build/C/man3/dbopen.3:36
#, no-wrap
msgid "DBOPEN"
msgstr "DBOPEN"
#. type: TH
-#: build/C/man3/dbopen.3:34
+#: build/C/man3/dbopen.3:36
#, no-wrap
-msgid "1994-01-02"
-msgstr "1994-01-02"
+msgid "2012-05-04"
+msgstr "2012-05-04"
#. type: Plain text
-#: build/C/man3/dbopen.3:38
+#: build/C/man3/dbopen.3:40
msgid "dbopen - database access methods"
msgstr "dbopen - データベースアクセスメソッド"
#. type: Plain text
-#: build/C/man3/dbopen.3:43
+#: build/C/man3/dbopen.3:46
#, no-wrap
msgid ""
"B<#include E<lt>sys/types.hE<gt>>\n"
"B<#include E<lt>limits.hE<gt>>\n"
"B<#include E<lt>db.hE<gt>>\n"
+"B<#include E<lt>fcntl.hE<gt>>\n"
msgstr ""
"B<#include E<lt>sys/types.hE<gt>>\n"
"B<#include E<lt>limits.hE<gt>>\n"
"B<#include E<lt>db.hE<gt>>\n"
+"B<#include E<lt>fcntl.hE<gt>>\n"
#. type: Plain text
-#: build/C/man3/dbopen.3:47
+#: build/C/man3/dbopen.3:50
#, no-wrap
msgid ""
"B<DB *dbopen(const char *>I<file>B<, int >I<flags>B<, int >I<mode>B<, DBTYPE >I<type>B<,>\n"
"B< const void *>I<openinfo>B<);>\n"
#. type: Plain text
-#: build/C/man3/dbopen.3:62
+#: build/C/man3/dbopen.3:72
msgid ""
"B<dbopen>() is the library interface to database files. The supported file "
"formats are btree, hashed and UNIX file oriented. The btree format is a "
"B<hash>(3), B<recno>(3) に詳細に記述されている。"
#. type: Plain text
-#: build/C/man3/dbopen.3:71
+#: build/C/man3/dbopen.3:81
msgid ""
"B<dbopen>() opens I<file> for reading and/or writing. Files never intended "
"to be preserved on disk may be created by setting the I<file> argument to "
#. Support transactions in the database.
#. The DB_LOCK and DB_SHMEM flags must be set as well.
#. type: Plain text
-#: build/C/man3/dbopen.3:111
+#: build/C/man3/dbopen.3:121
msgid ""
"The I<flags> and I<mode> arguments are as specified to the B<open>(2) "
"routine, however, only the B<O_CREAT>, B<O_EXCL>, B<O_EXLOCK>, "
"B<O_WRONLY> でデータベースファイルを開く事は出来ない)"
#. type: Plain text
-#: build/C/man3/dbopen.3:124
+#: build/C/man3/dbopen.3:134
msgid ""
"The I<type> argument is of type I<DBTYPE> (as defined in the I<E<lt>db."
"hE<gt>> include file) and may be set to B<DB_BTREE>, B<DB_HASH>, or "
"きる。"
#. type: Plain text
-#: build/C/man3/dbopen.3:133
+#: build/C/man3/dbopen.3:143
msgid ""
"The I<openinfo> argument is a pointer to an access method specific structure "
"described in the access method's manual page. If I<openinfo> is NULL, each "
"デフォルトが用いられる。"
#. type: Plain text
-#: build/C/man3/dbopen.3:144
+#: build/C/man3/dbopen.3:154
msgid ""
"B<dbopen>() returns a pointer to a I<DB> structure on success and NULL on "
"error. The I<DB> structure is defined in the I<E<lt>db.hE<gt>> include "
"ており、 少なくとも以下のようなフィールドを持っている。"
#. type: Plain text
-#: build/C/man3/dbopen.3:160
+#: build/C/man3/dbopen.3:170
#, no-wrap
msgid ""
"typedef struct {\n"
"} DB;\n"
#. type: Plain text
-#: build/C/man3/dbopen.3:168
+#: build/C/man3/dbopen.3:178
msgid ""
"These elements describe a database type and a set of functions performing "
"various actions. These functions take a pointer to a structure as returned "
"にとる。 キー/データ構造体へのポインタやフラグ値を取るものもある。"
#. type: TP
-#: build/C/man3/dbopen.3:168
+#: build/C/man3/dbopen.3:178
#, no-wrap
msgid "I<type>"
msgstr "I<type>"
#. type: Plain text
-#: build/C/man3/dbopen.3:171
+#: build/C/man3/dbopen.3:181
msgid "The type of the underlying access method (and file format)."
msgstr "用いられているアクセスメソッド (とファイルフォーマット) の型。"
#. type: TP
-#: build/C/man3/dbopen.3:171
+#: build/C/man3/dbopen.3:181
#, no-wrap
msgid "I<close>"
msgstr "I<close>"
#. type: Plain text
-#: build/C/man3/dbopen.3:185
+#: build/C/man3/dbopen.3:195
msgid ""
"A pointer to a routine to flush any cached information to disk, free any "
"allocated resources, and close the underlying file(s). Since key/data pairs "
"場合 -1 を返し (I<errno> をセットする)、成功すると 0 を返す。"
#. type: TP
-#: build/C/man3/dbopen.3:185
+#: build/C/man3/dbopen.3:195
#, no-wrap
msgid "I<del>"
msgstr "I<del>"
#. type: Plain text
-#: build/C/man3/dbopen.3:188
+#: build/C/man3/dbopen.3:198
msgid "A pointer to a routine to remove key/data pairs from the database."
msgstr "データベースからキー/データ対を削除するルーチンへのポインタ。"
#. type: Plain text
-#: build/C/man3/dbopen.3:192
+#: build/C/man3/dbopen.3:202
msgid "The argument I<flag> may be set to the following value:"
msgstr "I<flag> 引き数は次の値がセットできる。"
#. type: TP
-#: build/C/man3/dbopen.3:193 build/C/man3/dbopen.3:249
-#: build/C/man3/dbopen.3:349
+#: build/C/man3/dbopen.3:203 build/C/man3/dbopen.3:259
+#: build/C/man3/dbopen.3:359
#, no-wrap
msgid "B<R_CURSOR>"
msgstr "B<R_CURSOR>"
#. type: Plain text
-#: build/C/man3/dbopen.3:197
+#: build/C/man3/dbopen.3:207
msgid ""
"Delete the record referenced by the cursor. The cursor must have previously "
"been initialized."
"されていなくてはならない。"
#. type: Plain text
-#: build/C/man3/dbopen.3:205
+#: build/C/man3/dbopen.3:215
msgid ""
"I<delete> routines return -1 on error (setting I<errno>), 0 on success, and "
"1 if the specified I<key> was not in the file."
"と 0 を返す。また指定の I<key> がファイル中に無い場合 1 を返す。"
#. type: TP
-#: build/C/man3/dbopen.3:205
+#: build/C/man3/dbopen.3:215
#, no-wrap
msgid "I<fd>"
msgstr "I<fd>"
#. type: Plain text
-#: build/C/man3/dbopen.3:227
+#: build/C/man3/dbopen.3:237
msgid ""
"A pointer to a routine which returns a file descriptor representative of the "
"underlying database. A file descriptor referencing the same file will be "
"(I<errno> をセットする)、成功するとファイルデスクリプタを返す。"
#. type: TP
-#: build/C/man3/dbopen.3:227
+#: build/C/man3/dbopen.3:237
#, no-wrap
msgid "I<get>"
msgstr "I<get>"
#. type: Plain text
-#: build/C/man3/dbopen.3:241
+#: build/C/man3/dbopen.3:251
msgid ""
"A pointer to a routine which is the interface for keyed retrieval from the "
"database. The address and length of the data associated with the specified "
"る)、成功すると 0 を返す。また I<key> がファイル中に無い場合 1 を返す。"
#. type: TP
-#: build/C/man3/dbopen.3:241
+#: build/C/man3/dbopen.3:251
#, no-wrap
msgid "I<put>"
msgstr "I<put>"
#. type: Plain text
-#: build/C/man3/dbopen.3:244
+#: build/C/man3/dbopen.3:254
msgid "A pointer to a routine to store key/data pairs in the database."
msgstr "キー/データ対をデータベースに納めるルーチンへのポインタ。"
#. type: Plain text
-#: build/C/man3/dbopen.3:248
+#: build/C/man3/dbopen.3:258
msgid "The argument I<flag> may be set to one of the following values:"
msgstr "I<flag> 引き数には次の値のうちのどれか一つがセットできる。"
#. type: Plain text
-#: build/C/man3/dbopen.3:253
+#: build/C/man3/dbopen.3:263
msgid ""
"Replace the key/data pair referenced by the cursor. The cursor must have "
"previously been initialized."
"れている必要がある。"
#. type: TP
-#: build/C/man3/dbopen.3:253
+#: build/C/man3/dbopen.3:263
#, no-wrap
msgid "B<R_IAFTER>"
msgstr "B<R_IAFTER>"
#. type: Plain text
-#: build/C/man3/dbopen.3:264
+#: build/C/man3/dbopen.3:274
msgid ""
"Append the data immediately after the data referenced by I<key>, creating a "
"new key/data pair. The record number of the appended key/data pair is "
"(B<DB_RECNO> アクセス方法でのみ使える。)"
#. type: TP
-#: build/C/man3/dbopen.3:264
+#: build/C/man3/dbopen.3:274
#, no-wrap
msgid "B<R_IBEFORE>"
msgstr "B<R_IBEFORE>"
#. type: Plain text
-#: build/C/man3/dbopen.3:275
+#: build/C/man3/dbopen.3:285
msgid ""
"Insert the data immediately before the data referenced by I<key>, creating a "
"new key/data pair. The record number of the inserted key/data pair is "
"(B<DB_RECNO> アクセスメソッドでのみ使える。)"
#. type: TP
-#: build/C/man3/dbopen.3:275
+#: build/C/man3/dbopen.3:285
#, no-wrap
msgid "B<R_NOOVERWRITE>"
msgstr "B<R_NOOVERWRITE>"
#. type: Plain text
-#: build/C/man3/dbopen.3:278
+#: build/C/man3/dbopen.3:288
msgid "Enter the new key/data pair only if the key does not previously exist."
msgstr "キーがあらかじめ存在しない場合に限り、新しいキー/データ対をいれる。"
#. type: TP
-#: build/C/man3/dbopen.3:278
+#: build/C/man3/dbopen.3:288
#, no-wrap
msgid "B<R_SETCURSOR>"
msgstr "B<R_SETCURSOR>"
#. type: Plain text
-#: build/C/man3/dbopen.3:287
+#: build/C/man3/dbopen.3:297
msgid ""
"Store the key/data pair, setting or initializing the position of the cursor "
"to reference it. (Applicable only to the B<DB_BTREE> and B<DB_RECNO> access "
"る。 (B<DB_BTREE> と B<DB_RECNO> アクセスメソッドでのみ使える。)"
#. type: Plain text
-#: build/C/man3/dbopen.3:297
+#: build/C/man3/dbopen.3:307
msgid ""
"B<R_SETCURSOR> is available only for the B<DB_BTREE> and B<DB_RECNO> access "
"methods because it implies that the keys have an inherent order which does "
"キー が持っていなければならないからである。"
#. type: Plain text
-#: build/C/man3/dbopen.3:307
+#: build/C/man3/dbopen.3:317
msgid ""
"B<R_IAFTER> and B<R_IBEFORE> are available only for the B<DB_RECNO> access "
"method because they each imply that the access method is able to create new "
-"keys. This is only true if the keys are ordered and independent, record "
+"keys. This is true only if the keys are ordered and independent, record "
"numbers for example."
msgstr ""
"B<R_IAFTER> と B<R_IBEFORE> は B<DB_RECNO> アクセスメソッドでしか利用できな"
"キーになっているような場合だけである。"
#. type: Plain text
-#: build/C/man3/dbopen.3:312
+#: build/C/man3/dbopen.3:322
msgid ""
"The default behavior of the I<put> routines is to enter the new key/data "
"pair, replacing any previously existing key."
"置き換える事て格納する動作である。"
#. type: Plain text
-#: build/C/man3/dbopen.3:320
+#: build/C/man3/dbopen.3:330
msgid ""
"I<put> routines return -1 on error (setting I<errno>), 0 on success, and 1 "
"if the B<R_NOOVERWRITE> I<flag> was set and the key already exists in the "
"る場合 1 を返す。"
#. type: TP
-#: build/C/man3/dbopen.3:320
+#: build/C/man3/dbopen.3:330
#, no-wrap
msgid "I<seq>"
msgstr "I<seq>"
#. type: Plain text
-#: build/C/man3/dbopen.3:331
+#: build/C/man3/dbopen.3:341
msgid ""
"A pointer to a routine which is the interface for sequential retrieval from "
"the database. The address and length of the key are returned in the "
"スと長さが I<data> が参照する構造体に返される。"
#. type: Plain text
-#: build/C/man3/dbopen.3:344
+#: build/C/man3/dbopen.3:354
msgid ""
"Sequential key/data pair retrieval may begin at any time, and the position "
"of the \"cursor\" is not affected by calls to the I<del>, I<get>, I<put>, or "
"に挿入されたレコードは返される。"
#. type: Plain text
-#: build/C/man3/dbopen.3:348
+#: build/C/man3/dbopen.3:358
msgid "The flag value B<must> be set to one of the following values:"
msgstr ""
"フラグ値にはB<必ず>以下に示すうちの どれか一つをセットしなければならない。"
#. type: Plain text
-#: build/C/man3/dbopen.3:362
+#: build/C/man3/dbopen.3:372
msgid ""
"The data associated with the specified key is returned. This differs from "
"the I<get> routines in that it sets or initializes the cursor to the "
"のうち 最小のものになる (部分キーマッチか範囲検索が許可されている場合)。)"
#. type: TP
-#: build/C/man3/dbopen.3:362
+#: build/C/man3/dbopen.3:372
#, no-wrap
msgid "B<R_FIRST>"
msgstr "B<R_FIRST>"
#. type: Plain text
-#: build/C/man3/dbopen.3:366
+#: build/C/man3/dbopen.3:376
msgid ""
"The first key/data pair of the database is returned, and the cursor is set "
"or initialized to reference it."
"セットまたは初期化される。"
#. type: TP
-#: build/C/man3/dbopen.3:366
+#: build/C/man3/dbopen.3:376
#, no-wrap
msgid "B<R_LAST>"
msgstr "B<R_LAST>"
#. type: Plain text
-#: build/C/man3/dbopen.3:375
+#: build/C/man3/dbopen.3:385
msgid ""
"The last key/data pair of the database is returned, and the cursor is set or "
"initialized to reference it. (Applicable only to the B<DB_BTREE> and "
"使える。)"
#. type: TP
-#: build/C/man3/dbopen.3:375
+#: build/C/man3/dbopen.3:385
#, no-wrap
msgid "B<R_NEXT>"
msgstr "B<R_NEXT>"
#. type: Plain text
-#: build/C/man3/dbopen.3:381
+#: build/C/man3/dbopen.3:391
msgid ""
"Retrieve the key/data pair immediately after the cursor. If the cursor is "
"not yet set, this is the same as the B<R_FIRST> flag."
"B<R_FIRST> フラグと同じ。"
#. type: TP
-#: build/C/man3/dbopen.3:381
+#: build/C/man3/dbopen.3:391
#, no-wrap
msgid "B<R_PREV>"
msgstr "B<R_PREV>"
#. type: Plain text
-#: build/C/man3/dbopen.3:392
+#: build/C/man3/dbopen.3:402
msgid ""
"Retrieve the key/data pair immediately before the cursor. If the cursor is "
"not yet set, this is the same as the B<R_LAST> flag. (Applicable only to "
"える。)"
#. type: Plain text
-#: build/C/man3/dbopen.3:403
+#: build/C/man3/dbopen.3:413
msgid ""
"B<R_LAST> and B<R_PREV> are available only for the B<DB_BTREE> and "
"B<DB_RECNO> access methods because they each imply that the keys have an "
"キーが持っていなければならないからである。"
#. type: Plain text
-#: build/C/man3/dbopen.3:416
+#: build/C/man3/dbopen.3:426
msgid ""
"I<seq> routines return -1 on error (setting I<errno>), 0 on success and 1 if "
"there are no key/data pairs less than or greater than the specified or "
"には、 I<seq> ルーチンは 2 を返す。"
#. type: TP
-#: build/C/man3/dbopen.3:416
+#: build/C/man3/dbopen.3:426
#, no-wrap
msgid "I<sync>"
msgstr "I<sync>"
#. type: Plain text
-#: build/C/man3/dbopen.3:422
+#: build/C/man3/dbopen.3:432
msgid ""
"A pointer to a routine to flush any cached information to disk. If the "
"database is in memory only, the I<sync> routine has no effect and will "
"メモリの中だけにある場合、 I<sync> ルーチンは何の効果もなく常に成功する。"
#. type: Plain text
-#: build/C/man3/dbopen.3:424
+#: build/C/man3/dbopen.3:434
msgid "The flag value may be set to the following value:"
msgstr "flag には以下の値がセットできる。"
#. type: TP
-#: build/C/man3/dbopen.3:425
+#: build/C/man3/dbopen.3:435
#, no-wrap
msgid "B<R_RECNOSYNC>"
msgstr "B<R_RECNOSYNC>"
#. type: Plain text
-#: build/C/man3/dbopen.3:437
+#: build/C/man3/dbopen.3:447
msgid ""
"If the B<DB_RECNO> access method is being used, this flag causes the sync "
"routine to apply to the btree file which underlies the recno file, not the "
"ドを説明している部分を参照のこと。)"
#. type: Plain text
-#: build/C/man3/dbopen.3:443
+#: build/C/man3/dbopen.3:453
msgid ""
"I<sync> routines return -1 on error (setting I<errno>) and 0 on success."
msgstr ""
"0 を返す。"
#. type: SS
-#: build/C/man3/dbopen.3:443
+#: build/C/man3/dbopen.3:453
#, no-wrap
-msgid "Key/Data Pairs"
+msgid "Key/data pairs"
msgstr "キー/データ対"
#. type: Plain text
-#: build/C/man3/dbopen.3:446
+#: build/C/man3/dbopen.3:456
msgid ""
"Access to all file types is based on key/data pairs. Both keys and data are "
"represented by the following data structure:"
"る。 キーとデータのいずれも、次のデータ構造で記述される。"
#. type: Plain text
-#: build/C/man3/dbopen.3:453
+#: build/C/man3/dbopen.3:463
#, no-wrap
msgid ""
"typedef struct {\n"
"} DBT;\n"
#. type: Plain text
-#: build/C/man3/dbopen.3:459
+#: build/C/man3/dbopen.3:469
msgid "The elements of the I<DBT> structure are defined as follows:"
msgstr "I<DBT> 構造体の各要素は次のように定義されている。"
#. type: TP
-#: build/C/man3/dbopen.3:459
+#: build/C/man3/dbopen.3:469
#, no-wrap
msgid "I<data>"
msgstr "I<data>"
#. type: Plain text
-#: build/C/man3/dbopen.3:462
+#: build/C/man3/dbopen.3:472
msgid "A pointer to a byte string."
msgstr "バイト文字列へのポインタ。"
#. type: TP
-#: build/C/man3/dbopen.3:462
+#: build/C/man3/dbopen.3:472
#, no-wrap
msgid "I<size>"
msgstr "I<size>"
#. type: Plain text
-#: build/C/man3/dbopen.3:465
+#: build/C/man3/dbopen.3:475
msgid "The length of the byte string."
msgstr "バイト文字列の長さ。"
#. type: Plain text
-#: build/C/man3/dbopen.3:471
+#: build/C/man3/dbopen.3:481
msgid ""
"Key and data byte strings may reference strings of essentially unlimited "
"length although any two of them must fit into available memory at the same "
"こと。"
#. type: Plain text
-#: build/C/man3/dbopen.3:481
+#: build/C/man3/dbopen.3:491
msgid ""
"The B<dbopen>() routine may fail and set I<errno> for any of the errors "
"specified for the library routines B<open>(2) and B<malloc>(3) or the "
"トする。"
#. type: TP
-#: build/C/man3/dbopen.3:481
+#: build/C/man3/dbopen.3:491
#, no-wrap
msgid "B<EFTYPE>"
msgstr "B<[EFTYPE]>"
#. type: Plain text
-#: build/C/man3/dbopen.3:484
+#: build/C/man3/dbopen.3:494
msgid "A file is incorrectly formatted."
msgstr "ファイルが正しくフォーマットされていない。"
#. type: TP
-#: build/C/man3/dbopen.3:484 build/C/man3/mpool.3:189 build/C/man3/recno.3:209
+#: build/C/man3/dbopen.3:494 build/C/man3/mpool.3:198 build/C/man3/recno.3:218
#, no-wrap
msgid "B<EINVAL>"
msgstr "B<EINVAL>"
#. type: Plain text
-#: build/C/man3/dbopen.3:491
+#: build/C/man3/dbopen.3:501
msgid ""
-"A parameter has been specified (hash function, pad byte etc.) that is "
+"A parameter has been specified (hash function, pad byte, etc.) that is "
"incompatible with the current file specification or which is not meaningful "
"for the function (for example, use of the cursor without prior "
"initialization) or there is a mismatch between the version number of file "
"and the software."
msgstr ""
-"指定したパラメータ(ハッシュ関数、バイト埋めなど)が現在のファイル仕様に 合って"
-"いない、パラメータが関数にとって無意味 (例えばあらかじめ初期化しないでカーソ"
-"ルを使うとか)、 ファイルとソフトウェアのバージョンが合っていない。"
+"指定したパラメータ (ハッシュ関数、バイト埋めなど) が現在のファイル仕様\n"
+"に合っていない、パラメータが関数にとって無意味 (例えば、あらかじめ初期\n"
+"化しないでカーソルを使うとか)、ファイルとソフトウェアのバージョンが\n"
+"合っていない。"
#. type: Plain text
-#: build/C/man3/dbopen.3:503
+#: build/C/man3/dbopen.3:513
msgid ""
"The I<close> routines may fail and set I<errno> for any of the errors "
"specified for the library routines B<close>(2), B<read>(2), B<write>(2), "
"I<errno> をセットする。"
#. type: Plain text
-#: build/C/man3/dbopen.3:518
+#: build/C/man3/dbopen.3:528
msgid ""
"The I<del>, I<get>, I<put> and I<seq> routines may fail and set I<errno> for "
"any of the errors specified for the library routines B<read>(2), B<write>"
"じた I<errno> をセットする。"
#. type: Plain text
-#: build/C/man3/dbopen.3:526
+#: build/C/man3/dbopen.3:536
msgid ""
"The I<fd> routines will fail and set I<errno> to B<ENOENT> for in memory "
"databases."
"セットする。"
#. type: Plain text
-#: build/C/man3/dbopen.3:533
+#: build/C/man3/dbopen.3:543
msgid ""
"The I<sync> routines may fail and set I<errno> for any of the errors "
"specified for the library routine B<fsync>(2)."
"エラーに応じた I<errno> をセットする。"
#. type: Plain text
-#: build/C/man3/dbopen.3:538
+#: build/C/man3/dbopen.3:548
msgid ""
"The typedef I<DBT> is a mnemonic for \"data base thang\", and was used "
"because no-one could think of a reasonable name that wasn't already used."
"は、 まだ使われていない妥当な名前が思い付かなかったためである。"
#. type: Plain text
-#: build/C/man3/dbopen.3:541
+#: build/C/man3/dbopen.3:551
msgid ""
"The file descriptor interface is a kludge and will be deleted in a future "
"version of the interface."
"削除されるだろう。"
#. type: Plain text
-#: build/C/man3/dbopen.3:544
+#: build/C/man3/dbopen.3:554
msgid ""
"None of the access methods provide any form of concurrent access, locking, "
"or transactions."
"ていない。"
#. type: Plain text
-#: build/C/man3/dbopen.3:549
+#: build/C/man3/dbopen.3:559
msgid "B<btree>(3), B<hash>(3), B<mpool>(3), B<recno>(3)"
msgstr "B<btree>(3), B<hash>(3), B<mpool>(3), B<recno>(3)"
#. type: Plain text
-#: build/C/man3/dbopen.3:552
+#: build/C/man3/dbopen.3:562
msgid ""
"I<LIBTP: Portable, Modular Transactions for UNIX>, Margo Seltzer, Michael "
"Olson, USENIX proceedings, Winter 1992."
"Olson, USENIX proceedings, Winter 1992."
#. type: TH
-#: build/C/man3/hash.3:34
+#: build/C/man3/hash.3:36
#, no-wrap
msgid "HASH"
msgstr "HASH"
#. type: Plain text
-#: build/C/man3/hash.3:38
+#: build/C/man3/hash.3:40
msgid "hash - hash database access method"
msgstr "hash - hash データベースへのアクセスメソッド"
#. type: Plain text
-#: build/C/man3/hash.3:53
+#: build/C/man3/hash.3:62
msgid ""
"The routine B<dbopen>(3) is the library interface to database files. One "
"of the supported file formats is hash files. The general description of the "
"書かれている。 このマニュアルページでは hash 特有の情報についてのみ記述する。"
#. type: Plain text
-#: build/C/man3/hash.3:55
+#: build/C/man3/hash.3:64
msgid "The hash data structure is an extensible, dynamic hashing scheme."
msgstr "hash データ構造は、拡張可能な動的ハッシュスキームである。"
#. type: Plain text
-#: build/C/man3/hash.3:61
+#: build/C/man3/hash.3:70
msgid ""
"The access method specific data structure provided to B<dbopen>(3) is "
"defined in the I<E<lt>db.hE<gt>> include file as follows:"
"I<E<lt>db.hE<gt>> インクルードファイルで以下のように定義されている。"
#. type: Plain text
-#: build/C/man3/hash.3:72
+#: build/C/man3/hash.3:81
#, no-wrap
msgid ""
"typedef struct {\n"
"} HASHINFO;\n"
#. type: TP
-#: build/C/man3/hash.3:76
+#: build/C/man3/hash.3:85
#, no-wrap
msgid "I<bsize>"
msgstr "I<bsize>"
#. type: Plain text
-#: build/C/man3/hash.3:81
+#: build/C/man3/hash.3:90
msgid ""
"defines the hash table bucket size, and is, by default, 256 bytes. It may "
"be preferable to increase the page size for disk-resident tables and tables "
"ページサイズを大きくするほうが良いだろう。"
#. type: TP
-#: build/C/man3/hash.3:81
+#: build/C/man3/hash.3:90
#, no-wrap
msgid "I<ffactor>"
msgstr "I<ffactor>"
#. type: Plain text
-#: build/C/man3/hash.3:87
+#: build/C/man3/hash.3:96
msgid ""
"indicates a desired density within the hash table. It is an approximation "
"of the number of keys allowed to accumulate in any one bucket, determining "
"ある。"
#. type: TP
-#: build/C/man3/hash.3:87
+#: build/C/man3/hash.3:96
#, no-wrap
msgid "I<nelem>"
msgstr "I<nelem>"
#. type: Plain text
-#: build/C/man3/hash.3:93
+#: build/C/man3/hash.3:102
msgid ""
"is an estimate of the final size of the hash table. If not set or set too "
"low, hash tables will expand gracefully as keys are entered, although a "
"る。 デフォルト値は 1 である。"
#. type: Plain text
-#: build/C/man3/hash.3:99
+#: build/C/man3/hash.3:108
msgid ""
"is the suggested maximum size, in bytes, of the memory cache. This value is "
"I<only advisory>, and the access method will allocate more memory rather "
"り>、 アクセスメソッドはこの値を越えたメモリの割り当てに成功することもある。"
#. type: TP
-#: build/C/man3/hash.3:99
+#: build/C/man3/hash.3:108
#, no-wrap
msgid "I<hash>"
msgstr "I<hash>"
#. type: Plain text
-#: build/C/man3/hash.3:108
+#: build/C/man3/hash.3:117
msgid ""
"is a user-defined hash function. Since no hash function performs equally "
"well on all possible data, the user may find that the built-in hash function "
"値として使われる 32ビットの値を返さなくてはならない。"
#. type: Plain text
-#: build/C/man3/hash.3:118
+#: build/C/man3/hash.3:127
msgid ""
"is the byte order for integers in the stored database metadata. The number "
"should represent the order as an integer; for example, big endian order "
"が作られ た時に指定されていた値が使われる。"
#. type: Plain text
-#: build/C/man3/hash.3:130
+#: build/C/man3/hash.3:139
msgid ""
"If the file already exists (and the B<O_TRUNC> flag is not specified), the "
"values specified for I<bsize>, I<ffactor>, I<lorder>, and I<nelem> are "
"が作られた時に使った値が使われる。"
#. type: Plain text
-#: build/C/man3/hash.3:135
+#: build/C/man3/hash.3:144
msgid ""
"If a hash function is specified, I<hash_open> will attempt to determine if "
"the hash function specified is the same as the one with which the database "
"には失敗する。"
#. type: Plain text
-#: build/C/man3/hash.3:142
+#: build/C/man3/hash.3:151
msgid ""
"Backward-compatible interfaces to the routines described in B<dbm>(3), and "
"B<ndbm>(3) are provided, however these interfaces are not compatible with "
"フォー マットとは互換性がない。"
#. type: Plain text
-#: build/C/man3/hash.3:149
+#: build/C/man3/hash.3:158
msgid ""
"The I<hash> access method routines may fail and set I<errno> for any of the "
"errors specified for the library routine B<dbopen>(3)."
"(3) で指定されているエラーに応じた I<errno> をセットする。"
#. type: Plain text
-#: build/C/man3/hash.3:151
+#: build/C/man3/hash.3:160
msgid "Only big and little endian byte order are supported."
msgstr ""
"バイトオーダーとしてはビッグエンディアンとリトルエンディアンのみが サポートさ"
"れている。"
#. type: Plain text
-#: build/C/man3/hash.3:156
+#: build/C/man3/hash.3:165
msgid "B<btree>(3), B<dbopen>(3), B<mpool>(3), B<recno>(3)"
msgstr "B<btree>(3), B<dbopen>(3), B<mpool>(3), B<recno>(3)"
#. type: Plain text
-#: build/C/man3/hash.3:159
+#: build/C/man3/hash.3:168
msgid ""
"I<Dynamic Hash Tables>, Per-Ake Larson, Communications of the ACM, April "
"1988."
"1988."
#. type: Plain text
-#: build/C/man3/hash.3:162
+#: build/C/man3/hash.3:171
msgid ""
"I<A New Hash Package for UNIX>, Margo Seltzer, USENIX Proceedings, Winter "
"1991."
"1991."
#. type: TH
-#: build/C/man3/mpool.3:34
+#: build/C/man3/mpool.3:36
#, no-wrap
msgid "MPOOL"
msgstr "MPOOL"
#. type: TH
-#: build/C/man3/mpool.3:34
+#: build/C/man3/mpool.3:36
#, no-wrap
-msgid "1993-06-04"
-msgstr "1993-06-04"
+msgid "2012-04-26"
+msgstr "2012-04-26"
#. type: Plain text
-#: build/C/man3/mpool.3:38
+#: build/C/man3/mpool.3:40
msgid "mpool - shared memory buffer pool"
msgstr "mpool - 共有メモリバッファプール"
#. type: Plain text
-#: build/C/man3/mpool.3:42
+#: build/C/man3/mpool.3:44
#, no-wrap
msgid ""
"B<#include E<lt>db.hE<gt>>\n"
"B<#include E<lt>mpool.hE<gt>>\n"
#. type: Plain text
-#: build/C/man3/mpool.3:45
+#: build/C/man3/mpool.3:47
#, no-wrap
msgid "B<MPOOL *mpool_open(DBT *>I<key>B<, int >I<fd>B<, pgno_t >I<pagesize>B<, pgno_t >I<maxcache>B<);>\n"
msgstr "B<MPOOL *mpool_open(DBT *>I<key>B<, int >I<fd>B<, pgno_t >I<pagesize>B<, pgno_t >I<maxcache>B<);>\n"
#. type: Plain text
-#: build/C/man3/mpool.3:49
+#: build/C/man3/mpool.3:51
#, no-wrap
msgid ""
"B<void mpool_filter(MPOOL *>I<mp>B<, void (*pgin)(void *, pgno_t, void *),>\n"
"B< void *>I<pgcookie>B<);>\n"
#. type: Plain text
-#: build/C/man3/mpool.3:51
+#: build/C/man3/mpool.3:53
#, no-wrap
msgid "B<void *mpool_new(MPOOL *>I<mp>B<, pgno_t *>I<pgnoaddr>B<);>\n"
msgstr "B<void *mpool_new(MPOOL *>I<mp>B<, pgno_t *>I<pgnoaddr>B<);>\n"
#. type: Plain text
-#: build/C/man3/mpool.3:53
+#: build/C/man3/mpool.3:55
#, no-wrap
msgid "B<void *mpool_get(MPOOL *>I<mp>B<, pgno_t >I<pgno>B<, unsigned int >I<flags>B<);>\n"
msgstr "B<void *mpool_get(MPOOL *>I<mp>B<, pgno_t >I<pgno>B<, unsigned int >I<flags>B<);>\n"
#. type: Plain text
-#: build/C/man3/mpool.3:55
+#: build/C/man3/mpool.3:57
#, no-wrap
msgid "B<int mpool_put(MPOOL *>I<mp>B<, void *>I<pgaddr>B<, unsigned int >I<flags>B<);>\n"
msgstr "B<int mpool_put(MPOOL *>I<mp>B<, void *>I<pgaddr>B<, unsigned int >I<flags>B<);>\n"
#. type: Plain text
-#: build/C/man3/mpool.3:57
+#: build/C/man3/mpool.3:59
#, no-wrap
msgid "B<int mpool_sync(MPOOL *>I<mp>B<);>\n"
msgstr "B<int mpool_sync(MPOOL *>I<mp>B<);>\n"
#. type: Plain text
-#: build/C/man3/mpool.3:59
+#: build/C/man3/mpool.3:61
#, no-wrap
msgid "B<int mpool_close(MPOOL *>I<mp>B<);>\n"
msgstr "B<int mpool_close(MPOOL *>I<mp>B<);>\n"
#. type: Plain text
-#: build/C/man3/mpool.3:65
+#: build/C/man3/mpool.3:74
msgid ""
"I<Mpool> is the library interface intended to provide page oriented buffer "
"management of files. The buffers may be shared between processes."
"ンターフェイスである。"
#. type: Plain text
-#: build/C/man3/mpool.3:86
+#: build/C/man3/mpool.3:95
msgid ""
"The function B<mpool_open>() initializes a memory pool. The I<key> "
"argument is the byte string used to negotiate between multiple processes "
"る。"
#. type: Plain text
-#: build/C/man3/mpool.3:97
+#: build/C/man3/mpool.3:106
msgid ""
"The I<pagesize> argument is the size, in bytes, of the pages into which the "
"file is broken up. The I<maxcache> argument is the maximum number of pages "
"が、 ファイルを共有するプロセスが指定したうちの最大値が実際に用いられる。"
#. type: Plain text
-#: build/C/man3/mpool.3:113
+#: build/C/man3/mpool.3:122
msgid ""
"The B<mpool_filter>() function is intended to make transparent input and "
"output processing of the pages possible. If the I<pgin> function is "
"タ、ページ数、読み書きされるページへのポインタを引数にとる。"
#. type: Plain text
-#: build/C/man3/mpool.3:126
+#: build/C/man3/mpool.3:135
msgid ""
"The function B<mpool_new>() takes an I<MPOOL> pointer and an address as "
"arguments. If a new page can be allocated, a pointer to the page is "
"セットされる。"
#. type: Plain text
-#: build/C/man3/mpool.3:139
+#: build/C/man3/mpool.3:148
msgid ""
"The function B<mpool_get>() takes an I<MPOOL> pointer and a page number as "
"arguments. If the page exists, a pointer to the page is returned. "
"I<errno> がセットされる。 I<flags> 引き数は現在使用されていない。"
#. type: Plain text
-#: build/C/man3/mpool.3:151
+#: build/C/man3/mpool.3:160
msgid ""
"The function B<mpool_put>() unpins the page referenced by I<pgaddr>. "
"I<pgaddr> must be an address previously returned by B<mpool_get>() or "
"flag の値は以下の値の論理和で指定する。"
#. type: TP
-#: build/C/man3/mpool.3:151
+#: build/C/man3/mpool.3:160
#, no-wrap
msgid "B<MPOOL_DIRTY>"
msgstr "B<MPOOL_DIRTY>"
#. type: Plain text
-#: build/C/man3/mpool.3:154
+#: build/C/man3/mpool.3:163
msgid "The page has been modified and needs to be written to the backing file."
msgstr "ページは変更されており、ファイルに書き出す必要がある。"
#. type: Plain text
-#: build/C/man3/mpool.3:157
+#: build/C/man3/mpool.3:166
msgid "B<mpool_put>() returns 0 on success and -1 if an error occurs."
msgstr "B<mpool_put>() は成功すると 0 を、エラーがあると -1 を返す。"
#. type: Plain text
-#: build/C/man3/mpool.3:166
+#: build/C/man3/mpool.3:175
msgid ""
"The function B<mpool_sync>() writes all modified pages associated with the "
"I<MPOOL> pointer to the backing file. B<mpool_sync>() returns 0 on success "
"と -1 を返す。"
#. type: Plain text
-#: build/C/man3/mpool.3:176
+#: build/C/man3/mpool.3:185
msgid ""
"The B<mpool_close>() function free's up any allocated memory associated "
"with the memory pool cookie. Modified pages are B<not> written to the "
"功すると 0 を、エラーがあると -1 を返す。"
#. type: Plain text
-#: build/C/man3/mpool.3:183
+#: build/C/man3/mpool.3:192
msgid ""
"The B<mpool_open>() function may fail and set I<errno> for any of the "
"errors specified for the library routine B<malloc>(3)."
"ているエラーに応じた I<errno> をセットする。"
#. type: Plain text
-#: build/C/man3/mpool.3:189
+#: build/C/man3/mpool.3:198
msgid ""
"The B<mpool_get>() function may fail and set I<errno> for the following:"
msgstr "関数 B<mpool_get>() は失敗すると次のような I<errno> をセットする。"
#. type: Plain text
-#: build/C/man3/mpool.3:192
+#: build/C/man3/mpool.3:201
msgid "The requested record doesn't exist."
msgstr "要求のあったレコードは存在しない。"
#. type: Plain text
-#: build/C/man3/mpool.3:204
+#: build/C/man3/mpool.3:213
msgid ""
"The B<mpool_new>() and B<mpool_get>() functions may fail and set I<errno> "
"for any of the errors specified for the library routines B<read>(2), B<write>"
"I<errno> をセットする。"
#. type: Plain text
-#: build/C/man3/mpool.3:211
+#: build/C/man3/mpool.3:220
msgid ""
"The B<mpool_sync>() function may fail and set I<errno> for any of the "
"errors specified for the library routine B<write>(2)."
"ているエラーに応じた I<errno> をセットする。"
#. type: Plain text
-#: build/C/man3/mpool.3:218
+#: build/C/man3/mpool.3:227
msgid ""
"The B<mpool_close>() function may fail and set I<errno> for any of the "
"errors specified for the library routine B<free>(3)."
"ているエラーに応じた I<errno> をセットする。"
#. type: SH
-#: build/C/man3/mpool.3:218
+#: build/C/man3/mpool.3:227
#, no-wrap
msgid "CONFORMING TO"
msgstr "準拠"
#. type: Plain text
-#: build/C/man3/mpool.3:221
+#: build/C/man3/mpool.3:230
msgid "Not in POSIX.1-2001. Present on the BSDs."
msgstr "POSIX.1-2001 にはない。 BSD 系に存在する。"
#. type: Plain text
-#: build/C/man3/mpool.3:226
+#: build/C/man3/mpool.3:235
msgid "B<btree>(3), B<dbopen>(3), B<hash>(3), B<recno>(3)"
msgstr "B<btree>(3), B<dbopen>(3), B<hash>(3), B<recno>(3)"
#. type: TH
-#: build/C/man3/recno.3:34
+#: build/C/man3/recno.3:36
#, no-wrap
msgid "RECNO"
msgstr "RECNO"
#. type: Plain text
-#: build/C/man3/recno.3:38
+#: build/C/man3/recno.3:40
msgid "recno - record number database access method"
msgstr "recno - レコード番号データベースへのアクセスメソッド"
#. type: Plain text
-#: build/C/man3/recno.3:53
+#: build/C/man3/recno.3:62
msgid ""
"The routine B<dbopen>(3) is the library interface to database files. One "
"of the supported file formats is record number files. The general "
"では recno 特有の情報についてのみ記述する。"
#. type: Plain text
-#: build/C/man3/recno.3:62
+#: build/C/man3/recno.3:71
msgid ""
"The record number data structure is either variable or fixed-length records "
"stored in a flat-file format, accessed by the logical record number. The "
"り上がるわけである。"
#. type: Plain text
-#: build/C/man3/recno.3:68
+#: build/C/man3/recno.3:77
msgid ""
"The recno access method specific data structure provided to B<dbopen>(3) is "
"defined in the I<E<lt>db.hE<gt>> include file as follows:"
"I<E<lt>db.hE<gt>> インクルードファイルで次のように定義されている。"
#. type: Plain text
-#: build/C/man3/recno.3:80
+#: build/C/man3/recno.3:89
#, no-wrap
msgid ""
"typedef struct {\n"
"} RECNOINFO;\n"
#. type: Plain text
-#: build/C/man3/recno.3:84
+#: build/C/man3/recno.3:93
msgid "The elements of this structure are defined as follows:"
msgstr "この構造体の要素を以下に示す。"
#. type: TP
-#: build/C/man3/recno.3:84
+#: build/C/man3/recno.3:93
#, no-wrap
msgid "flags"
msgstr "flags"
#. type: TP
-#: build/C/man3/recno.3:89
+#: build/C/man3/recno.3:98
#, no-wrap
msgid "B<R_FIXEDLEN>"
msgstr "B<R_FIXEDLEN>"
#. type: Plain text
-#: build/C/man3/recno.3:100
+#: build/C/man3/recno.3:109
msgid ""
"The records are fixed-length, not byte delimited. The structure element "
"I<reclen> specifies the length of the record, and the structure element "
"は、残りの部分に埋め文字が自動的に入る。"
#. type: TP
-#: build/C/man3/recno.3:100
+#: build/C/man3/recno.3:109
#, no-wrap
msgid "B<R_NOKEY>"
msgstr "B<R_NOKEY>"
#. type: Plain text
-#: build/C/man3/recno.3:113
+#: build/C/man3/recno.3:122
msgid ""
"In the interface specified by B<dbopen>(3), the sequential record retrieval "
"fills in both the caller's key and data structures. If the B<R_NOKEY> flag "
"ドを読まなくても済む事になる。"
#. type: TP
-#: build/C/man3/recno.3:113
+#: build/C/man3/recno.3:122
#, no-wrap
msgid "B<R_SNAPSHOT>"
msgstr "B<R_SNAPSHOT>"
#. type: Plain text
-#: build/C/man3/recno.3:119
+#: build/C/man3/recno.3:128
msgid ""
"This flag requires that a snapshot of the file be taken when B<dbopen>(3) "
"is called, instead of permitting any unmodified records to be read from the "
"ら変更されていないレコードを読む代わりに、 ファイルの snapshot を用いる。"
#. type: Plain text
-#: build/C/man3/recno.3:129
+#: build/C/man3/recno.3:138
msgid ""
"A suggested maximum size, in bytes, of the memory cache. This value is "
"B<only> advisory, and the access method will allocate more memory rather "
"シュが使われる。"
#. type: Plain text
-#: build/C/man3/recno.3:141
+#: build/C/man3/recno.3:150
msgid ""
"The recno access method stores the in-memory copies of its records in a "
"btree. This value is the size (in bytes) of the pages used for nodes in "
"B<btree>(3) を参照。"
#. type: TP
-#: build/C/man3/recno.3:149
+#: build/C/man3/recno.3:158
#, no-wrap
msgid "I<reclen>"
msgstr "I<reclen>"
#. type: Plain text
-#: build/C/man3/recno.3:152
+#: build/C/man3/recno.3:161
msgid "The length of a fixed-length record."
msgstr "固定レコード長の長さ。"
#. type: TP
-#: build/C/man3/recno.3:152
+#: build/C/man3/recno.3:161
#, no-wrap
msgid "I<bval>"
msgstr "I<bval>"
#. type: Plain text
-#: build/C/man3/recno.3:160
+#: build/C/man3/recno.3:169
msgid ""
"The delimiting byte to be used to mark the end of a record for variable-"
"length records, and the pad character for fixed-length records. If no value "
"コードは空白 (space) で埋められる。"
#. type: TP
-#: build/C/man3/recno.3:160
+#: build/C/man3/recno.3:169
#, no-wrap
msgid "I<bfname>"
msgstr "I<bfname>"
#. type: Plain text
-#: build/C/man3/recno.3:170
+#: build/C/man3/recno.3:179
msgid ""
"The recno access method stores the in-memory copies of its records in a "
"btree. If I<bfname> is non-NULL, it specifies the name of the btree file, "
"イルを B<dbopen>(3) する時に指定するファイル名) を指定する。"
#. type: Plain text
-#: build/C/man3/recno.3:188
+#: build/C/man3/recno.3:197
msgid ""
"The data part of the key/data pair used by the I<recno> access method is the "
"same as other access methods. The key is different. The I<data> field of "
"サイズとなる。"
#. type: Plain text
-#: build/C/man3/recno.3:193
+#: build/C/man3/recno.3:202
msgid ""
"Because there can be no metadata associated with the underlying recno access "
"method files, any changes made to the default values (e.g., fixed record "
"ルを開く毎に明示的に指定しなければならない。"
#. type: Plain text
-#: build/C/man3/recno.3:201
+#: build/C/man3/recno.3:210
msgid ""
"In the interface specified by B<dbopen>(3), using the I<put> interface to "
"create a new record will cause the creation of multiple, empty records if "
"てしまう。"
#. type: Plain text
-#: build/C/man3/recno.3:209
+#: build/C/man3/recno.3:218
msgid ""
"The I<recno> access method routines may fail and set I<errno> for any of the "
"errors specified for the library routine B<dbopen>(3) or the following:"
"エラーに応じた I<errno> か、 あるいは以下に示す I<errno> をセットする。"
#. type: Plain text
-#: build/C/man3/recno.3:213
+#: build/C/man3/recno.3:222
msgid ""
"An attempt was made to add a record to a fixed-length database that was too "
"large to fit."
msgstr "固定長データベースにレコードを追加するとき、データが長すぎた。"
#. type: Plain text
-#: build/C/man3/recno.3:220
+#: build/C/man3/recno.3:229
msgid "B<btree>(3), B<dbopen>(3), B<hash>(3), B<mpool>(3)"
msgstr "B<btree>(3), B<dbopen>(3), B<hash>(3), B<mpool>(3)"
#. type: Plain text
-#: build/C/man3/recno.3:224
+#: build/C/man3/recno.3:233
msgid ""
"I<Document Processing in a Relational Database System>, Michael Stonebraker, "
"Heidi Stettner, Joseph Kalash, Antonin Guttman, Nadene Lynn, Memorandum No. "
"I<Document Processing in a Relational Database System>, Michael Stonebraker, "
"Heidi Stettner, Joseph Kalash, Antonin Guttman, Nadene Lynn, Memorandum No. "
"UCB/ERL M82/32, May 1982."
+
+#~ msgid "1994-08-18"
+#~ msgstr "1994-08-18"
+
+#~ msgid "1994-01-02"
+#~ msgstr "1994-01-02"
+
+#~ msgid "1993-06-04"
+#~ msgstr "1993-06-04"