1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
8 "Project-Id-Version: PACKAGE VERSION\n"
9 "POT-Creation-Date: 2012-04-25 05:36+0900\n"
10 "PO-Revision-Date: 2012-04-24 13:14+0900\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <LL@li.org>\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
19 #: build/C/man3/btree.3:34
25 #: build/C/man3/btree.3:34 build/C/man3/hash.3:34 build/C/man3/recno.3:34
31 #: build/C/man3/btree.3:34 build/C/man3/dbopen.3:34 build/C/man3/hash.3:34
32 #: build/C/man3/mpool.3:34 build/C/man3/recno.3:34
34 msgid "Linux Programmer's Manual"
35 msgstr "Linux Programmer's Manual"
38 #: build/C/man3/btree.3:36 build/C/man3/dbopen.3:36 build/C/man3/hash.3:36
39 #: build/C/man3/mpool.3:36 build/C/man3/recno.3:36
45 #: build/C/man3/btree.3:38
46 msgid "btree - btree database access method"
47 msgstr "btree - btree データベースへのアクセスメソッド"
50 #: build/C/man3/btree.3:38 build/C/man3/dbopen.3:38 build/C/man3/hash.3:38
51 #: build/C/man3/mpool.3:38 build/C/man3/recno.3:38
57 #: build/C/man3/btree.3:43 build/C/man3/hash.3:43 build/C/man3/recno.3:43
60 "B<#include E<lt>sys/types.hE<gt>\n"
61 "#include E<lt>db.hE<gt>>\n"
63 "B<#include E<lt>sys/types.hE<gt>\n"
64 "#include E<lt>db.hE<gt>>\n"
67 #: build/C/man3/btree.3:45 build/C/man3/dbopen.3:48 build/C/man3/hash.3:45
68 #: build/C/man3/mpool.3:60 build/C/man3/recno.3:45
74 #: build/C/man3/btree.3:53
76 "The routine B<dbopen>(3) is the library interface to database files. One "
77 "of the supported file formats is btree files. The general description of "
78 "the database access methods is in B<dbopen>(3), this manual page describes "
79 "only the btree specific information."
81 "ルーチン B<dbopen>(3) はデータベースファイルに対するライブラリインターフェー"
82 "スである。 サポートされているファイルフォーマットのひとつに btree ファイルが"
83 "ある。 データベースへのアクセスメソッドに関する一般的な記述は B<dbopen>(3) "
84 "に書かれている。 このマニュアルページでは btree 特有の情報についてのみ記述す"
88 #: build/C/man3/btree.3:56
90 "The btree data structure is a sorted, balanced tree structure storing "
91 "associated key/data pairs."
93 "btree データ構造では、ソートされたバランスツリー構造に 互いに関連づけられた"
97 #: build/C/man3/btree.3:62
99 "The btree access method specific data structure provided to B<dbopen>(3) is "
100 "defined in the I<E<lt>db.hE<gt>> include file as follows:"
102 "B<dbopen>(3) に渡される btree アクセスメソッドに特有のデータ構造体は、 "
103 "I<E<lt>db.hE<gt>> インクルードファイルで次のように定義されている。"
106 #: build/C/man3/btree.3:75
110 " unsigned long flags;\n"
111 " unsigned int cachesize;\n"
114 " unsigned int psize;\n"
115 " int (*compare)(const DBT *key1, const DBT *key2);\n"
116 " size_t (*prefix)(const DBT *key1, const DBT *key2);\n"
121 " unsigned long flags;\n"
122 " unsigned int cachesize;\n"
125 " unsigned int psize;\n"
126 " int (*compare)(const DBT *key1, const DBT *key2);\n"
127 " size_t (*prefix)(const DBT *key1, const DBT *key2);\n"
132 #: build/C/man3/btree.3:79 build/C/man3/hash.3:76
133 msgid "The elements of this structure are as follows:"
134 msgstr "この構造体の要素を以下に示す。"
137 #: build/C/man3/btree.3:79
143 #: build/C/man3/btree.3:82 build/C/man3/recno.3:88
144 msgid "The flag value is specified by ORing any of the following values:"
145 msgstr "I<flags> の値は以下の値の論理和で指定される。"
148 #: build/C/man3/btree.3:83
154 #: build/C/man3/btree.3:102
156 "Permit duplicate keys in the tree, that is, permit insertion if the key to "
157 "be inserted already exists in the tree. The default behavior, as described "
158 "in B<dbopen>(3), is to overwrite a matching key when inserting a new key or "
159 "to fail if the B<R_NOOVERWRITE> flag is specified. The B<R_DUP> flag is "
160 "overridden by the B<R_NOOVERWRITE> flag, and if the B<R_NOOVERWRITE> flag is "
161 "specified, attempts to insert duplicate keys into the tree will fail."
163 "ツリーの中にキーの重複を許す。すなわちツリーの中に挿入されようとしている キー"
164 "が既に存在していても、その挿入を許可する。デフォルトの動作は B<dbopen>(3) に"
165 "記述されているように、新しいキーが挿入されると一致したキーを上書きする。 ある"
166 "いは B<R_NOOVERWRITE> フラグが指定されていると挿入に失敗する。 B<R_DUP> フラ"
167 "グは B<R_NOOVERWRITE> フラグによって上書きされる。つまり B<R_NOOVERWRITE> フ"
168 "ラグが指定された場合、ツリーに複製キーを挿入しようとすると失敗する。"
171 #: build/C/man3/btree.3:112
173 "If the database contains duplicate keys, the order of retrieval of key/data "
174 "pairs is undefined if the I<get> routine is used, however, I<seq> routine "
175 "calls with the B<R_CURSOR> flag set will always return the logical \"first\" "
176 "of any group of duplicate keys."
178 "データベースにキーの重複があると、 I<get> ルーチンを使った場合のキー/データ対"
179 "の取得順は未定義である。それに対し、 B<R_CURSOR> フラグをセットして I<seq> "
180 "ルーチンを使うと、複製キーのグループの中の 論理的に「最初」のキーを必ず返して"
184 #: build/C/man3/btree.3:113 build/C/man3/hash.3:93 build/C/man3/recno.3:120
187 msgstr "I<cachesize>"
190 #: build/C/man3/btree.3:128
192 "A suggested maximum size (in bytes) of the memory cache. This value is "
193 "I<only> advisory, and the access method will allocate more memory rather "
194 "than fail. Since every search examines the root page of the tree, caching "
195 "the most recently used pages substantially improves access time. In "
196 "addition, physical writes are delayed as long as possible, so a moderate "
197 "cache can reduce the number of I/O operations significantly. Obviously, "
198 "using a cache increases (but only increases) the likelihood of corruption or "
199 "lost data if the system crashes while a tree is being modified. If "
200 "I<cachesize> is 0 (no size is specified) a default cache is used."
202 "想定されるメモリキャッシュの最大サイズ (バイト単位)。 この値は I<あくまで> 参"
203 "考であり、アクセスメソッドはこの値を越えたメモリの 割り当てに成功することもあ"
204 "る。 加えて、物理的な書き込みは可能な限り遅延されるので、 キャッシュの大きさ"
205 "を適度にしておけば I/O 操作の回数をかなり減らすこと ができる。 あきらかに"
206 "キャッシュを使うと、ツリーが変更されている途中で システムがクラッシュした場合"
207 "のデータ破壊やデータロストの可能性は 増える (まあでもそれだけのこと)。 "
208 "I<cachesize> が 0 (サイズが指定されていない) の場合、デフォルトのキャッシュが"
212 #: build/C/man3/btree.3:128
214 msgid "I<maxkeypage>"
215 msgstr "I<maxkeypage>"
217 #. The maximum number of keys which will be stored on any single page.
218 #. Because of the way the btree data structure works,
220 #. must always be greater than or equal to 2.
223 #. is 0 (no maximum number of keys is specified) the page fill factor is
224 #. made as large as possible (which is almost invariably what is wanted).
226 #: build/C/man3/btree.3:140
228 "The maximum number of keys which will be stored on any single page. Not "
229 "currently implemented."
230 msgstr "単一ページに納められる最大キー数である。現在実装されていない。"
233 #: build/C/man3/btree.3:140
235 msgid "I<minkeypage>"
236 msgstr "I<minkeypage>"
239 #: build/C/man3/btree.3:150
241 "The minimum number of keys which will be stored on any single page. This "
242 "value is used to determine which keys will be stored on overflow pages, that "
243 "is, if a key or data item is longer than the pagesize divided by the "
244 "minkeypage value, it will be stored on overflow pages instead of in the page "
245 "itself. If I<minkeypage> is 0 (no minimum number of keys is specified) a "
246 "value of 2 is used."
248 "単一ページに納められる最小キー数である。この値は、どのキーを オーバーフロー"
249 "ページ に納めるか決めるのに使われる。すなわちキーまたはデータが minkeypage の"
250 "値で分割されたページサイズより大きい時、そのページに納め る代わりにオーバーフ"
251 "ローページに納めるということである。 I<minkeypage> が 0 (キーの最小値が指定さ"
252 "れていない) の場合、値として 2 が使われる。"
255 #: build/C/man3/btree.3:150 build/C/man3/recno.3:129
261 #: build/C/man3/btree.3:158
263 "Page size is the size (in bytes) of the pages used for nodes in the tree. "
264 "The minimum page size is 512 bytes and the maximum page size is 64K. If "
265 "I<psize> is 0 (no page size is specified) a page size is chosen based on the "
266 "underlying file system I/O block size."
268 "ツリーの中のノードに使われるページサイズ (バイト単位)。 最小値は 512 バイト"
269 "で、最大値は 64K である。 I<psize> が 0 (ページサイズが指定されていない) の場"
270 "合、 ファイルシステムの I/O ブロックサイズに基づいて決められる。"
273 #: build/C/man3/btree.3:158
279 #: build/C/man3/btree.3:170
281 "Compare is the key comparison function. It must return an integer less "
282 "than, equal to, or greater than zero if the first key argument is considered "
283 "to be respectively less than, equal to, or greater than the second key "
284 "argument. The same comparison function must be used on a given tree every "
285 "time it is opened. If I<compare> is NULL (no comparison function is "
286 "specified), the keys are compared lexically, with shorter keys considered "
287 "less than longer keys."
289 "I<compare> はキーの比較関数である。 最初のキー引数に対し、二番目のキー引数が"
290 "大きい場合には正の整数を、 同じ場合にはゼロを、小さい場合には負の整数を返"
291 "す。 ツリーを開く際には、常に同じ比較関数が使われなければならない。 "
292 "I<compare> が NULL (比較関数が指定されていない) の場合、 辞書的に比較される。"
293 "短いキーは長いキーより小さいことになる。"
296 #: build/C/man3/btree.3:170
302 #: build/C/man3/btree.3:189
304 "Prefix is the prefix comparison function. If specified, this routine must "
305 "return the number of bytes of the second key argument which are necessary to "
306 "determine that it is greater than the first key argument. If the keys are "
307 "equal, the key length should be returned. Note, the usefulness of this "
308 "routine is very data-dependent, but, in some data sets can produce "
309 "significantly reduced tree sizes and search times. If I<prefix> is NULL (no "
310 "prefix function is specified), I<and> no comparison function is specified, a "
311 "default lexical comparison routine is used. If I<prefix> is NULL and a "
312 "comparison routine is specified, no prefix comparison is done."
314 "I<prefix> は前置比較関数である。 このルーチンは (指定された場合には)、二番目"
315 "のキー引数の バイト数を返さなくてはならない。これは二番目のキー引数が 一番目"
316 "のキー引数より大きいかどうか決めるのに必要である。 キーが同じ場合、キーの長さ"
317 "が返る。このルーチンが有用かどうかは、 データに強く依存する。しかしデータセッ"
318 "トによっては、明らかにツリー のサイズと検索時間を減らしてくれる。 I<prefix> "
319 "が NULL (prefix 関数が指定されていない) で、 I<かつ> 比較関数が指定されていな"
320 "いと、デフォルトの辞書比較ルーチンが使われる。 I<prefix> が NULL で比較関数が"
321 "指定されている場合は、前置比較は行われない。"
324 #: build/C/man3/btree.3:189 build/C/man3/hash.3:108 build/C/man3/recno.3:141
330 #: build/C/man3/btree.3:197 build/C/man3/recno.3:149
332 "The byte order for integers in the stored database metadata. The number "
333 "should represent the order as an integer; for example, big endian order "
334 "would be the number 4,321. If I<lorder> is 0 (no order is specified) the "
335 "current host order is used."
337 "データベースに格納されているメタデータの整数値のバイトオーダー。 この数字は、"
338 "順序を整数で表したものである。 例えばビッグエンディアンなら、この数値は "
339 "4,321 となる。 I<lorder> が 0 (指定されていない) の場合、現在のホスト で使わ"
343 #: build/C/man3/btree.3:208
345 "If the file already exists (and the B<O_TRUNC> flag is not specified), the "
346 "values specified for the arguments I<flags>, I<lorder> and I<psize> are "
347 "ignored in favor of the values used when the tree was created."
349 "ファイルが既に存在している (または B<O_TRUCT> フラグが指定されていない) と、 "
350 "引き数 I<flag>, I<lorder>, I<psize> に指定された値は無視され、 ツリーが作られ"
354 #: build/C/man3/btree.3:210
356 "Forward sequential scans of a tree are from the least key to the greatest."
357 msgstr "ツリーの前方順検索は、最小キーから最大キーに向かって行われる。"
360 #: build/C/man3/btree.3:216
362 "Space freed up by deleting key/data pairs from the tree is never reclaimed, "
363 "although it is normally made available for reuse. This means that the btree "
364 "storage structure is grow-only. The only solutions are to avoid excessive "
365 "deletions, or to create a fresh tree periodically from a scan of an existing "
368 "ツリーからキー/データ対が削除されることによってできたスペースは、 通常再利用"
369 "できる形になっているが再利用されることは無い。 つまり brtee 記憶構造は肥大す"
370 "る一方である。 対策は過度の削除を避けるか、 存在するツリーを調べて定期的に新"
374 #: build/C/man3/btree.3:222
376 "Searches, insertions, and deletions in a btree will all complete in O lg "
377 "base N where base is the average fill factor. Often, inserting ordered data "
378 "into btrees results in a low fill factor. This implementation has been "
379 "modified to make ordered insertion the best case, resulting in a much better "
380 "than normal page fill factor."
382 "Searches, insertions, and deletions in a btree will all complete in O lg "
383 "base N where base is the average fill factor. Often, inserting ordered data "
384 "into btrees results in a low fill factor. This implementation has been "
385 "modified to make ordered insertion the best case, resulting in a much better "
386 "than normal page fill factor."
389 #: build/C/man3/btree.3:222 build/C/man3/dbopen.3:471 build/C/man3/hash.3:142
390 #: build/C/man3/mpool.3:176 build/C/man3/recno.3:201
396 #: build/C/man3/btree.3:229
398 "The I<btree> access method routines may fail and set I<errno> for any of the "
399 "errors specified for the library routine B<dbopen>(3)."
401 "I<btree> アクセスメソッドルーチンは失敗すると、ライブラリルーチン B<dbopen>"
402 "(3) で定義されているエラーのいずれかを I<errno> として返す。"
405 #: build/C/man3/btree.3:229 build/C/man3/dbopen.3:533 build/C/man3/hash.3:149
406 #: build/C/man3/recno.3:213
412 #: build/C/man3/btree.3:231 build/C/man3/recno.3:215
413 msgid "Only big and little endian byte order is supported."
415 "バイトオーダーとしてはビッグエンディアンとリトルエンディアンのみが サポートさ"
419 #: build/C/man3/btree.3:231 build/C/man3/dbopen.3:544 build/C/man3/hash.3:151
420 #: build/C/man3/mpool.3:221 build/C/man3/recno.3:215
426 #: build/C/man3/btree.3:236
427 msgid "B<dbopen>(3), B<hash>(3), B<mpool>(3), B<recno>(3)"
428 msgstr "B<dbopen>(3), B<hash>(3), B<mpool>(3), B<recno>(3)"
431 #: build/C/man3/btree.3:239
433 "I<The Ubiquitous B-tree>, Douglas Comer, ACM Comput. Surv. 11, 2 (June "
436 "I<The Ubiquitous B-tree>, Douglas Comer, ACM Comput. Surv. 11, 2 (June "
440 #: build/C/man3/btree.3:243
442 "I<Prefix B-trees>, Bayer and Unterauer, ACM Transactions on Database "
443 "Systems, Vol. 2, 1 (March 1977), 11-26."
445 "I<Prefix B-trees>, Bayer and Unterauer, ACM Transactions on Database "
446 "Systems, Vol. 2, 1 (March 1977), 11-26."
449 #: build/C/man3/btree.3:245
451 "I<The Art of Computer Programming Vol. 3: Sorting and Searching>, D.E. "
452 "Knuth, 1968, pp 471-480."
454 "I<The Art of Computer Programming Vol. 3: Sorting and Searching>, D.E. "
455 "Knuth, 1968, pp 471-480."
458 #: build/C/man3/dbopen.3:34
464 #: build/C/man3/dbopen.3:34
470 #: build/C/man3/dbopen.3:38
471 msgid "dbopen - database access methods"
472 msgstr "dbopen - データベースアクセスメソッド"
475 #: build/C/man3/dbopen.3:43
478 "B<#include E<lt>sys/types.hE<gt>>\n"
479 "B<#include E<lt>limits.hE<gt>>\n"
480 "B<#include E<lt>db.hE<gt>>\n"
482 "B<#include E<lt>sys/types.hE<gt>>\n"
483 "B<#include E<lt>limits.hE<gt>>\n"
484 "B<#include E<lt>db.hE<gt>>\n"
487 #: build/C/man3/dbopen.3:47
490 "B<DB *dbopen(const char *>I<file>B<, int >I<flags>B<, int >I<mode>B<, DBTYPE >I<type>B<,>\n"
491 "B< const void *>I<openinfo>B<);>\n"
493 "B<DB *dbopen(const char *>I<file>B<, int >I<flags>B<, int >I<mode>B<, DBTYPE >I<type>B<,>\n"
494 "B< const void *>I<openinfo>B<);>\n"
497 #: build/C/man3/dbopen.3:62
499 "B<dbopen>() is the library interface to database files. The supported file "
500 "formats are btree, hashed and UNIX file oriented. The btree format is a "
501 "representation of a sorted, balanced tree structure. The hashed format is "
502 "an extensible, dynamic hashing scheme. The flat-file format is a byte "
503 "stream file with fixed or variable length records. The formats and file "
504 "format specific information are described in detail in their respective "
505 "manual pages B<btree>(3), B<hash>(3) and B<recno>(3)."
507 "B<dbopen>() はデータベースファイルに対するライブラリインターフェースであ"
508 "る。 サポートされているファイルフォーマットは btree, hash, UNIX ファイルに指"
509 "向したフォーマット, の 3 つである。 btree フォーマットは、ソートされたバラン"
510 "スツリー構造である。 hashed フォーマットは、拡張可能な動的 hash スキームであ"
511 "る。 フラットファイル (flat-file) フォーマットは、 固定長/可変長のレコードか"
512 "らなるバイトストリームファイルである。 それぞれのフォーマットと、ファイル"
513 "フォーマットに特有の情報は それぞれ対応するマニュアルページ B<btree>(3), "
514 "B<hash>(3), B<recno>(3) に詳細に記述されている。"
517 #: build/C/man3/dbopen.3:71
519 "B<dbopen>() opens I<file> for reading and/or writing. Files never intended "
520 "to be preserved on disk may be created by setting the I<file> argument to "
523 "B<dbopen>() は I<file> を読み込み (読み書き) するためにオープンする。 "
524 "I<file> 引き数を NULL にすれば、 ディスク上に保存したくないファイルを作ること"
527 #. Three additional options may be specified by ORing
533 #. Do the necessary locking in the database to support concurrent access.
534 #. If concurrent access isn't needed or the database is read-only this
535 #. flag should not be set, as it tends to have an associated performance
539 #. Place the underlying memory pool used by the database in shared
541 #. Necessary for concurrent access.
544 #. Support transactions in the database.
545 #. The DB_LOCK and DB_SHMEM flags must be set as well.
547 #: build/C/man3/dbopen.3:111
549 "The I<flags> and I<mode> arguments are as specified to the B<open>(2) "
550 "routine, however, only the B<O_CREAT>, B<O_EXCL>, B<O_EXLOCK>, "
551 "B<O_NONBLOCK>, B<O_RDONLY>, B<O_RDWR>, B<O_SHLOCK>, and B<O_TRUNC> flags are "
552 "meaningful. (Note, opening a database file B<O_WRONLY> is not possible.)"
554 "I<flags> と I<mode> 引き数は B<open>(2) ルーチンで指定するのと同様である。た"
555 "だし 意味を持つフラグは B<O_CREAT>, B<O_EXCL>, B<O_EXLOCK>, B<O_NONBLOCK>, "
556 "B<O_RDONLY>, B<O_RDWR>, B<O_SHLOCK>, B<O_TRUNC> だけである。 (注意: "
557 "B<O_WRONLY> でデータベースファイルを開く事は出来ない)"
560 #: build/C/man3/dbopen.3:124
562 "The I<type> argument is of type I<DBTYPE> (as defined in the I<E<lt>db."
563 "hE<gt>> include file) and may be set to B<DB_BTREE>, B<DB_HASH>, or "
566 "I<type> 引き数は I<DBTYPE> 型である (インクルードファイル I<E<lt>db.hE<gt>> "
567 "で定義されている)。 B<DB_BTREE>, B<DB_HASH>, B<DB_RECNO> のいずれかをセットで"
571 #: build/C/man3/dbopen.3:133
573 "The I<openinfo> argument is a pointer to an access method specific structure "
574 "described in the access method's manual page. If I<openinfo> is NULL, each "
575 "access method will use defaults appropriate for the system and the access "
578 "I<openinfo> 引き数はアクセスメソッドに固有な構造体へのポインタである。 それぞ"
579 "れの構造体に関しては各アクセスメソッドの マニュアルページに記述されている。 "
580 "I<openinfo> が NULL の場合、それぞれのアクセスメソッドとシステムとに適合した "
584 #: build/C/man3/dbopen.3:144
586 "B<dbopen>() returns a pointer to a I<DB> structure on success and NULL on "
587 "error. The I<DB> structure is defined in the I<E<lt>db.hE<gt>> include "
588 "file, and contains at least the following fields:"
590 "B<dbopen>() は、成功した場合 I<DB> 構造体へのポインタを、エラーの場合 NULL "
591 "を返す。 I<DB> 構造体は I<E<lt>db.hE<gt>> インクルードファイルの中で定義され"
592 "ており、 少なくとも以下のようなフィールドを持っている。"
595 #: build/C/man3/dbopen.3:160
600 " int (*close)(const DB *db);\n"
601 " int (*del)(const DB *db, const DBT *key, unsigned int flags);\n"
602 " int (*fd)(const DB *db);\n"
603 " int (*get)(const DB *db, DBT *key, DBT *data,\n"
604 " unsigned int flags);\n"
605 " int (*put)(const DB *db, DBT *key, const DBT *data,\n"
606 " unsigned int flags);\n"
607 " int (*sync)(const DB *db, unsigned int flags);\n"
608 " int (*seq)(const DB *db, DBT *key, DBT *data,\n"
609 " unsigned int flags);\n"
614 " int (*close)(const DB *db);\n"
615 " int (*del)(const DB *db, const DBT *key, unsigned int flags);\n"
616 " int (*fd)(const DB *db);\n"
617 " int (*get)(const DB *db, DBT *key, DBT *data,\n"
618 " unsigned int flags);\n"
619 " int (*put)(const DB *db, DBT *key, const DBT *data,\n"
620 " unsigned int flags);\n"
621 " int (*sync)(const DB *db, unsigned int flags);\n"
622 " int (*seq)(const DB *db, DBT *key, DBT *data,\n"
623 " unsigned int flags);\n"
627 #: build/C/man3/dbopen.3:168
629 "These elements describe a database type and a set of functions performing "
630 "various actions. These functions take a pointer to a structure as returned "
631 "by B<dbopen>(), and sometimes one or more pointers to key/data structures "
634 "各要素には、データベースのタイプと、 様々な動作をする関数のセットが記述されて"
635 "いる。 これらの関数は B<dbopen>() によって返される構造体へのポインタを引き数"
636 "にとる。 キー/データ構造体へのポインタやフラグ値を取るものもある。"
639 #: build/C/man3/dbopen.3:168
645 #: build/C/man3/dbopen.3:171
646 msgid "The type of the underlying access method (and file format)."
647 msgstr "用いられているアクセスメソッド (とファイルフォーマット) の型。"
650 #: build/C/man3/dbopen.3:171
656 #: build/C/man3/dbopen.3:185
658 "A pointer to a routine to flush any cached information to disk, free any "
659 "allocated resources, and close the underlying file(s). Since key/data pairs "
660 "may be cached in memory, failing to sync the file with a I<close> or I<sync> "
661 "function may result in inconsistent or lost information. I<close> routines "
662 "return -1 on error (setting I<errno>) and 0 on success."
664 "キャッシュされた情報をディスクに掃きだすためのルーチンへのポインタ。 割り当て"
665 "られたリソースを解放し、利用したファイル(群)をクローズする。 キー/データ対が"
666 "メモリにキャッシュされている場合、 I<close> や I<sync> 関数での同期に失敗する"
667 "と、情報に矛盾が生じるか情報を失う可能性がある。 I<close> ルーチンはエラーの"
668 "場合 -1 を返し (I<errno> をセットする)、成功すると 0 を返す。"
671 #: build/C/man3/dbopen.3:185
677 #: build/C/man3/dbopen.3:188
678 msgid "A pointer to a routine to remove key/data pairs from the database."
679 msgstr "データベースからキー/データ対を削除するルーチンへのポインタ。"
682 #: build/C/man3/dbopen.3:192
683 msgid "The argument I<flag> may be set to the following value:"
684 msgstr "I<flag> 引き数は次の値がセットできる。"
687 #: build/C/man3/dbopen.3:193 build/C/man3/dbopen.3:249
688 #: build/C/man3/dbopen.3:349
694 #: build/C/man3/dbopen.3:197
696 "Delete the record referenced by the cursor. The cursor must have previously "
699 "カーソル (cursor) が参照しているレコードを削除する。 カーソルは前もって初期化"
703 #: build/C/man3/dbopen.3:205
705 "I<delete> routines return -1 on error (setting I<errno>), 0 on success, and "
706 "1 if the specified I<key> was not in the file."
708 "I<delete> ルーチンはエラーの場合 -1 を返し (I<errno> をセットする)、成功する"
709 "と 0 を返す。また指定の I<key> がファイル中に無い場合 1 を返す。"
712 #: build/C/man3/dbopen.3:205
718 #: build/C/man3/dbopen.3:227
720 "A pointer to a routine which returns a file descriptor representative of the "
721 "underlying database. A file descriptor referencing the same file will be "
722 "returned to all processes which call B<dbopen>() with the same I<file> "
723 "name. This file descriptor may be safely used as an argument to the B<fcntl>"
724 "(2) and B<flock>(2) locking functions. The file descriptor is not "
725 "necessarily associated with any of the underlying files used by the access "
726 "method. No file descriptor is available for in memory databases. I<fd> "
727 "routines return -1 on error (setting I<errno>), and the file descriptor on "
730 "用いているデータベースのファイルデスクリプタを返すルーチン へのポインタ。 同"
731 "じファイル名 I<file> で B<dbopen>() を呼び出した全てのプロセスに対して、 そ"
732 "のファイルを示す単一のファイルデスクリプタが返される。 このファイルデスクリプ"
733 "タはロック関数 B<fcntl>(2) と B<flock>(2) への引き数として安全に使用でき"
734 "る。 このファイルデスクリプタは、必ずしもアクセスメソッドで 用いられている"
735 "ファイルのいずれかに関連づけられていなくても良い。 メモリ内のデータベースには"
736 "ファイルデスクリプタは無い。 I<fd> ルーチンはエラーの場合 -1 を返し "
737 "(I<errno> をセットする)、成功するとファイルデスクリプタを返す。"
740 #: build/C/man3/dbopen.3:227
746 #: build/C/man3/dbopen.3:241
748 "A pointer to a routine which is the interface for keyed retrieval from the "
749 "database. The address and length of the data associated with the specified "
750 "I<key> are returned in the structure referenced by I<data>. I<get> routines "
751 "return -1 on error (setting I<errno>), 0 on success, and 1 if the I<key> was "
754 "データベースからキーを用いてデータを取り出すための ルーチンへのポインタ。 指"
755 "定した I<key> に関連づけられたデータのアドレスと長さが I<data> が参照する構造"
756 "体に返される。 I<get> ルーチンはエラーの場合 -1 を返し (I<errno> をセットす"
757 "る)、成功すると 0 を返す。また I<key> がファイル中に無い場合 1 を返す。"
760 #: build/C/man3/dbopen.3:241
766 #: build/C/man3/dbopen.3:244
767 msgid "A pointer to a routine to store key/data pairs in the database."
768 msgstr "キー/データ対をデータベースに納めるルーチンへのポインタ。"
771 #: build/C/man3/dbopen.3:248
772 msgid "The argument I<flag> may be set to one of the following values:"
773 msgstr "I<flag> 引き数には次の値のうちのどれか一つがセットできる。"
776 #: build/C/man3/dbopen.3:253
778 "Replace the key/data pair referenced by the cursor. The cursor must have "
779 "previously been initialized."
781 "カーソルが参照しているキー/データ対を置き換える。 カーソルは前もって初期化さ"
785 #: build/C/man3/dbopen.3:253
791 #: build/C/man3/dbopen.3:264
793 "Append the data immediately after the data referenced by I<key>, creating a "
794 "new key/data pair. The record number of the appended key/data pair is "
795 "returned in the I<key> structure. (Applicable only to the B<DB_RECNO> "
798 "I<key> で参照されるデータの直後に、 新しいキー/データ対を作ってデータを追加す"
799 "る。 追加されたキー/データ対のレコード番号は I<key> 構造体に返される。 "
800 "(B<DB_RECNO> アクセス方法でのみ使える。)"
803 #: build/C/man3/dbopen.3:264
806 msgstr "B<R_IBEFORE>"
809 #: build/C/man3/dbopen.3:275
811 "Insert the data immediately before the data referenced by I<key>, creating a "
812 "new key/data pair. The record number of the inserted key/data pair is "
813 "returned in the I<key> structure. (Applicable only to the B<DB_RECNO> "
816 "I<key> で参照されるデータの直前に、 新しいキー/データ対を作ってデータを挿入す"
817 "る。 追加されたキー/データ対のレコード番号は I<key> 構造体に返される。 "
818 "(B<DB_RECNO> アクセスメソッドでのみ使える。)"
821 #: build/C/man3/dbopen.3:275
823 msgid "B<R_NOOVERWRITE>"
824 msgstr "B<R_NOOVERWRITE>"
827 #: build/C/man3/dbopen.3:278
828 msgid "Enter the new key/data pair only if the key does not previously exist."
829 msgstr "キーがあらかじめ存在しない場合に限り、新しいキー/データ対をいれる。"
832 #: build/C/man3/dbopen.3:278
834 msgid "B<R_SETCURSOR>"
835 msgstr "B<R_SETCURSOR>"
838 #: build/C/man3/dbopen.3:287
840 "Store the key/data pair, setting or initializing the position of the cursor "
841 "to reference it. (Applicable only to the B<DB_BTREE> and B<DB_RECNO> access "
844 "キー/データ対を納め、それを指すようにカーソル位置をセットあるいは初期 化す"
845 "る。 (B<DB_BTREE> と B<DB_RECNO> アクセスメソッドでのみ使える。)"
848 #: build/C/man3/dbopen.3:297
850 "B<R_SETCURSOR> is available only for the B<DB_BTREE> and B<DB_RECNO> access "
851 "methods because it implies that the keys have an inherent order which does "
854 "B<R_SETCURSOR> は B<DB_BTREE> と B<DB_RECNO> アクセスメソッドでしか利用できな"
855 "い。 なぜなら B<R_SETCURSOR> を用いるには、変更される事の無い固有の順序を"
856 "キー が持っていなければならないからである。"
859 #: build/C/man3/dbopen.3:307
861 "B<R_IAFTER> and B<R_IBEFORE> are available only for the B<DB_RECNO> access "
862 "method because they each imply that the access method is able to create new "
863 "keys. This is only true if the keys are ordered and independent, record "
864 "numbers for example."
866 "B<R_IAFTER> と B<R_IBEFORE> は B<DB_RECNO> アクセスメソッドでしか利用できな"
867 "い。 これらを実現するには、アクセスメソッドが 新しいキーを作れなければならな"
868 "いからである。 これが成立するのは、例えば、順序づけらた独立なレコード番号が "
869 "キーになっているような場合だけである。"
872 #: build/C/man3/dbopen.3:312
874 "The default behavior of the I<put> routines is to enter the new key/data "
875 "pair, replacing any previously existing key."
877 "I<put> ルーチンのデフォルトの動作は、新しいキー/データ対を 既に存在するキーを"
881 #: build/C/man3/dbopen.3:320
883 "I<put> routines return -1 on error (setting I<errno>), 0 on success, and 1 "
884 "if the B<R_NOOVERWRITE> I<flag> was set and the key already exists in the "
887 "I<put> ルーチンはエラーの場合 -1 を返し (I<errno> をセットする)、成功すると "
888 "0 を返す。また I<flag> に B<R_NOOVERWRITE> がセットされていてキーが既に存在す"
892 #: build/C/man3/dbopen.3:320
898 #: build/C/man3/dbopen.3:331
900 "A pointer to a routine which is the interface for sequential retrieval from "
901 "the database. The address and length of the key are returned in the "
902 "structure referenced by I<key>, and the address and length of the data are "
903 "returned in the structure referenced by I<data>."
905 "データベースからシーケンシャルにデータを取り出すための ルーチンへのポイン"
906 "タ。 キーのアドレスと長さが I<key> が参照する構造体に返される。データのアドレ"
907 "スと長さが I<data> が参照する構造体に返される。"
910 #: build/C/man3/dbopen.3:344
912 "Sequential key/data pair retrieval may begin at any time, and the position "
913 "of the \"cursor\" is not affected by calls to the I<del>, I<get>, I<put>, or "
914 "I<sync> routines. Modifications to the database during a sequential scan "
915 "will be reflected in the scan, that is, records inserted behind the cursor "
916 "will not be returned while records inserted in front of the cursor will be "
919 "シーケンシャルなキー/データ対の取得はいつでも行える。また 「カーソル」の位置"
920 "は I<del>, I<get>, I<put>, I<sync> ルーチンの呼び出しには影響されない。 シー"
921 "ケンシャルなスキャンの途中に行われたデータベースへの変更は スキャンに反映され"
922 "る。すなわち、カーソルの後ろに挿入されたレコードは 返されないが、カーソルの前"
926 #: build/C/man3/dbopen.3:348
927 msgid "The flag value B<must> be set to one of the following values:"
929 "フラグ値にはB<必ず>以下に示すうちの どれか一つをセットしなければならない。"
932 #: build/C/man3/dbopen.3:362
934 "The data associated with the specified key is returned. This differs from "
935 "the I<get> routines in that it sets or initializes the cursor to the "
936 "location of the key as well. (Note, for the B<DB_BTREE> access method, the "
937 "returned key is not necessarily an exact match for the specified key. The "
938 "returned key is the smallest key greater than or equal to the specified key, "
939 "permitting partial key matches and range searches.)"
941 "指定したキーに関連づけられたデータが返される。 I<get> ルーチンとの違いは、"
942 "カーソルがキーの位置にセットあるいは 初期化される点である。 (注意: "
943 "B<DB_BTREE> アクセス方法では、返されたキーが 必ずしも指定したキーに正しくマッ"
944 "チしないかもしれない。 返されたキーは、指定されたキーに等しいかより大きいもの"
945 "のうち 最小のものになる (部分キーマッチか範囲検索が許可されている場合)。)"
948 #: build/C/man3/dbopen.3:362
954 #: build/C/man3/dbopen.3:366
956 "The first key/data pair of the database is returned, and the cursor is set "
957 "or initialized to reference it."
959 "データベースの最初のキー/データ対が返される。 カーソルはそれを参照するように"
963 #: build/C/man3/dbopen.3:366
969 #: build/C/man3/dbopen.3:375
971 "The last key/data pair of the database is returned, and the cursor is set or "
972 "initialized to reference it. (Applicable only to the B<DB_BTREE> and "
973 "B<DB_RECNO> access methods.)"
975 "データベースの最後のキー/データ対が返される。カーソルはそれを参照する ように"
976 "セットまたは初期化される。 (B<DB_BTREE> と B<DB_RECNO> アクセスメソッドだけで"
980 #: build/C/man3/dbopen.3:375
986 #: build/C/man3/dbopen.3:381
988 "Retrieve the key/data pair immediately after the cursor. If the cursor is "
989 "not yet set, this is the same as the B<R_FIRST> flag."
991 "カーソル直後のキー/データ対を取得する。 カーソルがセットされていない場合は "
995 #: build/C/man3/dbopen.3:381
1001 #: build/C/man3/dbopen.3:392
1003 "Retrieve the key/data pair immediately before the cursor. If the cursor is "
1004 "not yet set, this is the same as the B<R_LAST> flag. (Applicable only to "
1005 "the B<DB_BTREE> and B<DB_RECNO> access methods.)"
1007 "カーソル直前のキー/データ対を取得する。 カーソルがセットされていない場合は "
1008 "B<R_LAST> フラグと同じ。 (B<DB_BTREE> と B<DB_RECNO> アクセスメソッドだけで使"
1012 #: build/C/man3/dbopen.3:403
1014 "B<R_LAST> and B<R_PREV> are available only for the B<DB_BTREE> and "
1015 "B<DB_RECNO> access methods because they each imply that the keys have an "
1016 "inherent order which does not change."
1018 "B<R_LAST> と B<R_PREV> は、 B<DB_BTREE> と B<DB_RECNO> アクセス方法でしか使え"
1019 "ない。 なぜなら B<R_SETCURSOR> を用いるには、変更される事の無い固有の順序を"
1020 "キーが持っていなければならないからである。"
1023 #: build/C/man3/dbopen.3:416
1025 "I<seq> routines return -1 on error (setting I<errno>), 0 on success and 1 if "
1026 "there are no key/data pairs less than or greater than the specified or "
1027 "current key. If the B<DB_RECNO> access method is being used, and if the "
1028 "database file is a character special file and no complete key/data pairs are "
1029 "currently available, the I<seq> routines return 2."
1031 "I<seq> ルーチンはエラーの場合 -1 を返し (I<errno> をセットする)、 成功の場合 "
1032 "0 を返す。 指定したキーやカレントキーよりも大きい/小さいキー/データ対がない場"
1033 "合は 1 を返す。 B<DB_RECNO> アクセスメソッドを使っていて、 かつデータベース"
1034 "ファイルが文字型のスペシャルファイルで、 完成しているキー/データ対が無い場合"
1035 "には、 I<seq> ルーチンは 2 を返す。"
1038 #: build/C/man3/dbopen.3:416
1044 #: build/C/man3/dbopen.3:422
1046 "A pointer to a routine to flush any cached information to disk. If the "
1047 "database is in memory only, the I<sync> routine has no effect and will "
1050 "キャッシュされた情報をディスクに掃き出すルーチンへのポインタ。 データベースが"
1051 "メモリの中だけにある場合、 I<sync> ルーチンは何の効果もなく常に成功する。"
1054 #: build/C/man3/dbopen.3:424
1055 msgid "The flag value may be set to the following value:"
1056 msgstr "flag には以下の値がセットできる。"
1059 #: build/C/man3/dbopen.3:425
1061 msgid "B<R_RECNOSYNC>"
1062 msgstr "B<R_RECNOSYNC>"
1065 #: build/C/man3/dbopen.3:437
1067 "If the B<DB_RECNO> access method is being used, this flag causes the sync "
1068 "routine to apply to the btree file which underlies the recno file, not the "
1069 "recno file itself. (See the I<bfname> field of the B<recno>(3) manual page "
1070 "for more information.)"
1072 "B<DB_RECNO> アクセスメソッドを使っている場合に このフラグをセットすると、 "
1073 "recno ファイルそのものにではなく、 そのベースになっている btree ファイルに "
1074 "sync が行われる。 (詳細は B<recno>(3) マニュアルページで I<bfname> フィール"
1075 "ドを説明している部分を参照のこと。)"
1078 #: build/C/man3/dbopen.3:443
1080 "I<sync> routines return -1 on error (setting I<errno>) and 0 on success."
1082 "I<sync> ルーチンはエラーの場合 -1 を返し (I<errno> をセットする)、成功すると "
1086 #: build/C/man3/dbopen.3:443
1088 msgid "Key/Data Pairs"
1092 #: build/C/man3/dbopen.3:446
1094 "Access to all file types is based on key/data pairs. Both keys and data are "
1095 "represented by the following data structure:"
1097 "全てのファイルタイプにおいて、 キー/データ対をベースにしてアクセスが行われ"
1098 "る。 キーとデータのいずれも、次のデータ構造で記述される。"
1101 #: build/C/man3/dbopen.3:453
1104 "typedef struct {\n"
1109 "typedef struct {\n"
1115 #: build/C/man3/dbopen.3:459
1116 msgid "The elements of the I<DBT> structure are defined as follows:"
1117 msgstr "I<DBT> 構造体の各要素は次のように定義されている。"
1120 #: build/C/man3/dbopen.3:459
1126 #: build/C/man3/dbopen.3:462
1127 msgid "A pointer to a byte string."
1128 msgstr "バイト文字列へのポインタ。"
1131 #: build/C/man3/dbopen.3:462
1137 #: build/C/man3/dbopen.3:465
1138 msgid "The length of the byte string."
1142 #: build/C/man3/dbopen.3:471
1144 "Key and data byte strings may reference strings of essentially unlimited "
1145 "length although any two of them must fit into available memory at the same "
1146 "time. It should be noted that the access methods provide no guarantees "
1147 "about byte string alignment."
1149 "キーとデータのバイト文字列は、 基本的には無制限の長さの文字列を参照できる"
1150 "が、 しかしいずれも使用可能なメモリに収まっていなくてはならない。 アクセスメ"
1151 "ソッドはバイト文字列のアラインメントについては 何も保証していない事に注意する"
1155 #: build/C/man3/dbopen.3:481
1157 "The B<dbopen>() routine may fail and set I<errno> for any of the errors "
1158 "specified for the library routines B<open>(2) and B<malloc>(3) or the "
1161 "B<dbopen>() ルーチンは失敗するとライブラリルーチン B<open>(2) と B<malloc>"
1162 "(3) で指定されているエラーに応じた I<errno> をセットする。あるいは以下をセッ"
1166 #: build/C/man3/dbopen.3:481
1169 msgstr "B<[EFTYPE]>"
1172 #: build/C/man3/dbopen.3:484
1173 msgid "A file is incorrectly formatted."
1174 msgstr "ファイルが正しくフォーマットされていない。"
1177 #: build/C/man3/dbopen.3:484 build/C/man3/mpool.3:189 build/C/man3/recno.3:209
1183 #: build/C/man3/dbopen.3:491
1185 "A parameter has been specified (hash function, pad byte etc.) that is "
1186 "incompatible with the current file specification or which is not meaningful "
1187 "for the function (for example, use of the cursor without prior "
1188 "initialization) or there is a mismatch between the version number of file "
1191 "指定したパラメータ(ハッシュ関数、バイト埋めなど)が現在のファイル仕様に 合って"
1192 "いない、パラメータが関数にとって無意味 (例えばあらかじめ初期化しないでカーソ"
1193 "ルを使うとか)、 ファイルとソフトウェアのバージョンが合っていない。"
1196 #: build/C/man3/dbopen.3:503
1198 "The I<close> routines may fail and set I<errno> for any of the errors "
1199 "specified for the library routines B<close>(2), B<read>(2), B<write>(2), "
1200 "B<free>(3), or B<fsync>(2)."
1202 "I<close> ルーチンは失敗するとライブラリルーチン B<close>(2), B<read>(2), "
1203 "B<write>(2), B<free>(3), B<fsync>(2) で指定されているエラーに応じた "
1207 #: build/C/man3/dbopen.3:518
1209 "The I<del>, I<get>, I<put> and I<seq> routines may fail and set I<errno> for "
1210 "any of the errors specified for the library routines B<read>(2), B<write>"
1211 "(2), B<free>(3) or B<malloc>(3)."
1213 "I<del>, I<get>, I<put> と I<seq> ルーチンは失敗するとライブラリルーチン "
1214 "B<read>(2), B<write>(2), B<free>(3), B<malloc>(3) で指定されているエラーに応"
1215 "じた I<errno> をセットする。"
1218 #: build/C/man3/dbopen.3:526
1220 "The I<fd> routines will fail and set I<errno> to B<ENOENT> for in memory "
1223 "I<fd> ルーチンはメモリ内データベースに対し失敗すると I<errno> に B<ENOENT> を"
1227 #: build/C/man3/dbopen.3:533
1229 "The I<sync> routines may fail and set I<errno> for any of the errors "
1230 "specified for the library routine B<fsync>(2)."
1232 "I<sync> ルーチンは失敗するとライブラリルーチン B<fsync>(2) で指定されている"
1233 "エラーに応じた I<errno> をセットする。"
1236 #: build/C/man3/dbopen.3:538
1238 "The typedef I<DBT> is a mnemonic for \"data base thang\", and was used "
1239 "because no-one could think of a reasonable name that wasn't already used."
1241 "typedef I<DBT> は ``data base thang''の略語であるが、これが使われているの"
1242 "は、 まだ使われていない妥当な名前が思い付かなかったためである。"
1245 #: build/C/man3/dbopen.3:541
1247 "The file descriptor interface is a kludge and will be deleted in a future "
1248 "version of the interface."
1250 "ファイルデスクリプタを使ったやりとりはひどい代物であり、 将来のバージョンでは"
1254 #: build/C/man3/dbopen.3:544
1256 "None of the access methods provide any form of concurrent access, locking, "
1259 "どのアクセスメソッドも、同時アクセス、ロック、トランザクション の仕組みは備え"
1263 #: build/C/man3/dbopen.3:549
1264 msgid "B<btree>(3), B<hash>(3), B<mpool>(3), B<recno>(3)"
1265 msgstr "B<btree>(3), B<hash>(3), B<mpool>(3), B<recno>(3)"
1268 #: build/C/man3/dbopen.3:551
1270 "I<LIBTP: Portable, Modular Transactions for UNIX>, Margo Seltzer, Michael "
1271 "Olson, USENIX proceedings, Winter 1992."
1273 "I<LIBTP: Portable, Modular Transactions for UNIX>, Margo Seltzer, Michael "
1274 "Olson, USENIX proceedings, Winter 1992."
1277 #: build/C/man3/hash.3:34
1283 #: build/C/man3/hash.3:38
1284 msgid "hash - hash database access method"
1285 msgstr "hash - hash データベースへのアクセスメソッド"
1288 #: build/C/man3/hash.3:53
1290 "The routine B<dbopen>(3) is the library interface to database files. One "
1291 "of the supported file formats is hash files. The general description of the "
1292 "database access methods is in B<dbopen>(3), this manual page describes only "
1293 "the hash specific information."
1295 "ルーチン B<dbopen>(3) はデータベースファイルに対するライブラリインターフェー"
1296 "スである。 サポートされているファイルフォーマットのひとつに hash ファイルがあ"
1297 "る。 データベースへのアクセスメソッドに関する一般的な記述は B<dbopen>(3) に"
1298 "書かれている。 このマニュアルページでは hash 特有の情報についてのみ記述する。"
1301 #: build/C/man3/hash.3:55
1302 msgid "The hash data structure is an extensible, dynamic hashing scheme."
1303 msgstr "hash データ構造は、拡張可能な動的ハッシュスキームである。"
1306 #: build/C/man3/hash.3:61
1308 "The access method specific data structure provided to B<dbopen>(3) is "
1309 "defined in the I<E<lt>db.hE<gt>> include file as follows:"
1311 "B<dbopen>(3) に渡される hash アクセスメソッドに特有のデータ構造体は、 "
1312 "I<E<lt>db.hE<gt>> インクルードファイルで以下のように定義されている。"
1315 #: build/C/man3/hash.3:72
1318 "typedef struct {\n"
1319 " unsigned int bsize;\n"
1320 " unsigned int ffactor;\n"
1321 " unsigned int nelem;\n"
1322 " unsigned int cachesize;\n"
1323 " uint32_t (*hash)(const void *, size_t);\n"
1327 "typedef struct {\n"
1328 " unsigned int bsize;\n"
1329 " unsigned int ffactor;\n"
1330 " unsigned int nelem;\n"
1331 " unsigned int cachesize;\n"
1332 " uint32_t (*hash)(const void *, size_t);\n"
1337 #: build/C/man3/hash.3:76
1343 #: build/C/man3/hash.3:81
1345 "defines the hash table bucket size, and is, by default, 256 bytes. It may "
1346 "be preferable to increase the page size for disk-resident tables and tables "
1347 "with large data items."
1349 "hash テーブルバケット (table bucket) のサイズを定義する。 デフォルトは 256 バ"
1350 "イトである。 ディスクに置かれるテーブルやデータアイテムが大きいテーブルでは "
1351 "ページサイズを大きくするほうが良いだろう。"
1354 #: build/C/man3/hash.3:81
1360 #: build/C/man3/hash.3:87
1362 "indicates a desired density within the hash table. It is an approximation "
1363 "of the number of keys allowed to accumulate in any one bucket, determining "
1364 "when the hash table grows or shrinks. The default value is 8."
1366 "ユーザが望む hash テーブル中の密度である。 これはそれぞれのバケットに格納でき"
1367 "るキーの概数であり、 hash テーブルを拡大・縮小を作用する。 デフォルトは 8 で"
1371 #: build/C/man3/hash.3:87
1377 #: build/C/man3/hash.3:93
1379 "is an estimate of the final size of the hash table. If not set or set too "
1380 "low, hash tables will expand gracefully as keys are entered, although a "
1381 "slight performance degradation may be noticed. The default value is 1."
1383 "hash テーブルの最終サイズを大まかに見積もった値である。 この値がセットされて"
1384 "いなかったり、あまりに低くセットされていると、 hash テーブルはキーが入ってく"
1385 "るに応じて拡張される。 しかし少しパフォーマンスが (おそらく気付く程度に) 落ち"
1389 #: build/C/man3/hash.3:99
1391 "is the suggested maximum size, in bytes, of the memory cache. This value is "
1392 "I<only advisory>, and the access method will allocate more memory rather "
1395 "メモリキャッシュの最大値 (バイト単位) の参考値。 この値は B<あくまで参考であ"
1396 "り>、 アクセスメソッドはこの値を越えたメモリの割り当てに成功することもある。"
1399 #: build/C/man3/hash.3:99
1405 #: build/C/man3/hash.3:108
1407 "is a user-defined hash function. Since no hash function performs equally "
1408 "well on all possible data, the user may find that the built-in hash function "
1409 "does poorly on a particular data set. A user-specified hash functions must "
1410 "take two arguments (a pointer to a byte string and a length) and return a 32-"
1411 "bit quantity to be used as the hash value."
1413 "はユーザー定義の hash 関数である。 全てのデータに対してうまく作用する hash 関"
1414 "数と言うのはないから、 特定のデータセットに対しては組み込みの hash 関数では "
1415 "パフォーマンスが低いこともあるかもしれない。 ユーザー定義の hash 関数は二つの"
1416 "引数をとらなくてはならない (バイト文字 列へのポインタと、長さ)。 そして hash "
1417 "値として使われる 32ビットの値を返さなくてはならない。"
1420 #: build/C/man3/hash.3:118
1422 "is the byte order for integers in the stored database metadata. The number "
1423 "should represent the order as an integer; for example, big endian order "
1424 "would be the number 4,321. If I<lorder> is 0 (no order is specified) the "
1425 "current host order is used. If the file already exists, the specified value "
1426 "is ignored and the value specified when the tree was created is used."
1428 "データベースに格納されているメタデータの整数値のバイトオーダー。 この数字は、"
1429 "順序を整数で表したものである。 例えばビッグエンディアンなら、この数値は "
1430 "4,321 となる。 I<lorder> が 0 (指定されていない)場合、現在のホスト で使われて"
1431 "いる並び順が使われる。 ファイルが既に存在する場合、指定した値は無視されツリー"
1432 "が作られ た時に指定されていた値が使われる。"
1435 #: build/C/man3/hash.3:130
1437 "If the file already exists (and the B<O_TRUNC> flag is not specified), the "
1438 "values specified for I<bsize>, I<ffactor>, I<lorder>, and I<nelem> are "
1439 "ignored and the values specified when the tree was created are used."
1441 "ファイルが既に存在している (または B<O_TRUNC> フラグが指定されていない) と、 "
1442 "I<bsize>, I<ffactor>, I<lorder>, I<nelem> に指定された値は無視され、 ハッシュ"
1446 #: build/C/man3/hash.3:135
1448 "If a hash function is specified, I<hash_open> will attempt to determine if "
1449 "the hash function specified is the same as the one with which the database "
1450 "was created, and will fail if it is not."
1452 "hash 関数が指定されると、 I<hash_open> はデータベースが作られた時に指定されて"
1453 "いた hash 関数と今回指定された hash 関数が同じかどうかを調べ、 同じでない場合"
1457 #: build/C/man3/hash.3:142
1459 "Backward-compatible interfaces to the routines described in B<dbm>(3), and "
1460 "B<ndbm>(3) are provided, however these interfaces are not compatible with "
1461 "previous file formats."
1463 "B<dbm>(3), と B<ndbm>(3) に記述されているルーチンへの過去互換を取るためのイ"
1464 "ンターフェイスが 存在する。しかしこれらのインターフェイスは以前のファイル"
1468 #: build/C/man3/hash.3:149
1470 "The I<hash> access method routines may fail and set I<errno> for any of the "
1471 "errors specified for the library routine B<dbopen>(3)."
1473 "I<hash> アクセスメソッドルーチンは、失敗するとライブラリルーチン B<dbopen>"
1474 "(3) で指定されているエラーに応じた I<errno> をセットする。"
1477 #: build/C/man3/hash.3:151
1478 msgid "Only big and little endian byte order are supported."
1480 "バイトオーダーとしてはビッグエンディアンとリトルエンディアンのみが サポートさ"
1484 #: build/C/man3/hash.3:156
1485 msgid "B<btree>(3), B<dbopen>(3), B<mpool>(3), B<recno>(3)"
1486 msgstr "B<btree>(3), B<dbopen>(3), B<mpool>(3), B<recno>(3)"
1489 #: build/C/man3/hash.3:159
1491 "I<Dynamic Hash Tables>, Per-Ake Larson, Communications of the ACM, April "
1494 "I<Dynamic Hash Tables>, Per-Ake Larson, Communications of the ACM, April "
1498 #: build/C/man3/hash.3:161
1500 "I<A New Hash Package for UNIX>, Margo Seltzer, USENIX Proceedings, Winter "
1503 "I<A New Hash Package for UNIX>, Margo Seltzer, USENIX Proceedings, Winter "
1507 #: build/C/man3/mpool.3:34
1513 #: build/C/man3/mpool.3:34
1519 #: build/C/man3/mpool.3:38
1520 msgid "mpool - shared memory buffer pool"
1521 msgstr "mpool - 共有メモリバッファプール"
1524 #: build/C/man3/mpool.3:42
1527 "B<#include E<lt>db.hE<gt>>\n"
1528 "B<#include E<lt>mpool.hE<gt>>\n"
1530 "B<#include E<lt>db.hE<gt>>\n"
1531 "B<#include E<lt>mpool.hE<gt>>\n"
1534 #: build/C/man3/mpool.3:45
1536 msgid "B<MPOOL *mpool_open(DBT *>I<key>B<, int >I<fd>B<, pgno_t >I<pagesize>B<, pgno_t >I<maxcache>B<);>\n"
1537 msgstr "B<MPOOL *mpool_open(DBT *>I<key>B<, int >I<fd>B<, pgno_t >I<pagesize>B<, pgno_t >I<maxcache>B<);>\n"
1540 #: build/C/man3/mpool.3:49
1543 "B<void mpool_filter(MPOOL *>I<mp>B<, void (*pgin)(void *, pgno_t, void *),>\n"
1544 "B< void (*>I<pgout>B<)(void *, pgno_t, void *),>\n"
1545 "B< void *>I<pgcookie>B<);>\n"
1547 "B<void mpool_filter(MPOOL *>I<mp>B<, void (*pgin)(void *, pgno_t, void *),>\n"
1548 "B< void (*>I<pgout>B<)(void *, pgno_t, void *),>\n"
1549 "B< void *>I<pgcookie>B<);>\n"
1552 #: build/C/man3/mpool.3:51
1554 msgid "B<void *mpool_new(MPOOL *>I<mp>B<, pgno_t *>I<pgnoaddr>B<);>\n"
1555 msgstr "B<void *mpool_new(MPOOL *>I<mp>B<, pgno_t *>I<pgnoaddr>B<);>\n"
1558 #: build/C/man3/mpool.3:53
1560 msgid "B<void *mpool_get(MPOOL *>I<mp>B<, pgno_t >I<pgno>B<, unsigned int >I<flags>B<);>\n"
1561 msgstr "B<void *mpool_get(MPOOL *>I<mp>B<, pgno_t >I<pgno>B<, unsigned int >I<flags>B<);>\n"
1564 #: build/C/man3/mpool.3:55
1566 msgid "B<int mpool_put(MPOOL *>I<mp>B<, void *>I<pgaddr>B<, unsigned int >I<flags>B<);>\n"
1567 msgstr "B<int mpool_put(MPOOL *>I<mp>B<, void *>I<pgaddr>B<, unsigned int >I<flags>B<);>\n"
1570 #: build/C/man3/mpool.3:57
1572 msgid "B<int mpool_sync(MPOOL *>I<mp>B<);>\n"
1573 msgstr "B<int mpool_sync(MPOOL *>I<mp>B<);>\n"
1576 #: build/C/man3/mpool.3:59
1578 msgid "B<int mpool_close(MPOOL *>I<mp>B<);>\n"
1579 msgstr "B<int mpool_close(MPOOL *>I<mp>B<);>\n"
1582 #: build/C/man3/mpool.3:65
1584 "I<Mpool> is the library interface intended to provide page oriented buffer "
1585 "management of files. The buffers may be shared between processes."
1587 "I<mpool> は、ファイルに対するページ指向のバッファ管理を実装した ライブラリイ"
1591 #: build/C/man3/mpool.3:86
1593 "The function B<mpool_open>() initializes a memory pool. The I<key> "
1594 "argument is the byte string used to negotiate between multiple processes "
1595 "wishing to share buffers. If the file buffers are mapped in shared memory, "
1596 "all processes using the same key will share the buffers. If I<key> is NULL, "
1597 "the buffers are mapped into private memory. The I<fd> argument is a file "
1598 "descriptor for the underlying file, which must be seekable. If I<key> is "
1599 "non-NULL and matches a file already being mapped, the I<fd> argument is "
1602 "関数 B<mpool_open>() はメモリプールを初期化する。 I<key> 引数はバイト文字列"
1603 "であり、バッファを共有したい複数プロセス間 でのネゴシエーションに使われる。 "
1604 "ファイルバッファが共有メモリにマップされると、 同じキーを使うプロセスは全て"
1605 "バッファを共有する。 I<key> が NULL だと、バッファはプライベートなメモリに割"
1606 "り付けられる。 I<fd> 引数はもとになるファイルのファイルデスクリプタである。 "
1607 "このファイルデスクリプタはシーク可能でなくてはならない。 I<key> が NULL でな"
1608 "く、かつ既にマップされているファイルにマッチした場合、 I<fd> 引数は無視され"
1612 #: build/C/man3/mpool.3:97
1614 "The I<pagesize> argument is the size, in bytes, of the pages into which the "
1615 "file is broken up. The I<maxcache> argument is the maximum number of pages "
1616 "from the underlying file to cache at any one time. This value is not "
1617 "relative to the number of processes which share a file's buffers, but will "
1618 "be the largest value specified by any of the processes sharing the file."
1620 "I<pagesize> 引数はバイト単位でのページサイズであり、ファイルはこのサイズに分"
1621 "割される。 I<maxcache> 引数は基ファイルをキャッシュするときに用いる最大ページ"
1622 "数である。 この値はファイルバッファを共有しているプロセスの数には関係ない"
1623 "が、 ファイルを共有するプロセスが指定したうちの最大値が実際に用いられる。"
1626 #: build/C/man3/mpool.3:113
1628 "The B<mpool_filter>() function is intended to make transparent input and "
1629 "output processing of the pages possible. If the I<pgin> function is "
1630 "specified, it is called each time a buffer is read into the memory pool from "
1631 "the backing file. If the I<pgout> function is specified, it is called each "
1632 "time a buffer is written into the backing file. Both functions are called "
1633 "with the I<pgcookie> pointer, the page number and a pointer to the page to "
1634 "being read or written."
1636 "関数 B<mpool_filter>() は透過的なページ入出力処理を可能にする。 関数 "
1637 "I<pgin> が指定されていると、 ファイルからメモリプールに読み込まれる度にこの関"
1638 "数が呼び出される。 関数 I<pgout> が指定されていと、 バッファからファイルに書"
1639 "き出される度にこの関数が呼び出される。 どちらの関数も、 I<pgcookie> ポイン"
1640 "タ、ページ数、読み書きされるページへのポインタを引数にとる。"
1643 #: build/C/man3/mpool.3:126
1645 "The function B<mpool_new>() takes an I<MPOOL> pointer and an address as "
1646 "arguments. If a new page can be allocated, a pointer to the page is "
1647 "returned and the page number is stored into the I<pgnoaddr> address. "
1648 "Otherwise, NULL is returned and I<errno> is set."
1650 "関数 B<mpool_new>() は I<MPOOL> ポインタとアドレスを引数にとる。 新しいペー"
1651 "ジが割り当て可能な場合、ページへのポインタが返され、 ページ数が I<pgnoaddr> "
1652 "アドレスに納められる。 割り当てが不可能な場合は NULL が返され、 I<errno> が"
1656 #: build/C/man3/mpool.3:139
1658 "The function B<mpool_get>() takes an I<MPOOL> pointer and a page number as "
1659 "arguments. If the page exists, a pointer to the page is returned. "
1660 "Otherwise, NULL is returned and I<errno> is set. The I<flags> argument is "
1661 "not currently used."
1663 "関数 B<mpool_get>() は I<MPOOL> ポインタとページ数を引数にとる。ページが存在"
1664 "していると、 ページへのポインタが返される。 存在していないと NULL が返され、 "
1665 "I<errno> がセットされる。 I<flags> 引き数は現在使用されていない。"
1668 #: build/C/man3/mpool.3:151
1670 "The function B<mpool_put>() unpins the page referenced by I<pgaddr>. "
1671 "I<pgaddr> must be an address previously returned by B<mpool_get>() or "
1672 "B<mpool_new>(). The flag value is specified by ORing any of the following "
1675 "関数 B<mpool_put>() は I<pgaddr> が参照するページを解放する。 I<pgaddr> は以"
1676 "前に B<mpool_get>() か B<mpool_new>() が返したアドレスでなければならない。 "
1677 "flag の値は以下の値の論理和で指定する。"
1680 #: build/C/man3/mpool.3:151
1682 msgid "B<MPOOL_DIRTY>"
1683 msgstr "B<MPOOL_DIRTY>"
1686 #: build/C/man3/mpool.3:154
1687 msgid "The page has been modified and needs to be written to the backing file."
1688 msgstr "ページは変更されており、ファイルに書き出す必要がある。"
1691 #: build/C/man3/mpool.3:157
1692 msgid "B<mpool_put>() returns 0 on success and -1 if an error occurs."
1693 msgstr "B<mpool_put>() は成功すると 0 を、エラーがあると -1 を返す。"
1696 #: build/C/man3/mpool.3:166
1698 "The function B<mpool_sync>() writes all modified pages associated with the "
1699 "I<MPOOL> pointer to the backing file. B<mpool_sync>() returns 0 on success "
1700 "and -1 if an error occurs."
1702 "関数 B<mpool_sync>() は I<MPOOL> ポインタの示すページのうち、 変更されたもの"
1703 "を全てファイルに書き出す。 B<mpool_sync>() は成功すると 0 を、エラーがある"
1707 #: build/C/man3/mpool.3:176
1709 "The B<mpool_close>() function free's up any allocated memory associated "
1710 "with the memory pool cookie. Modified pages are B<not> written to the "
1711 "backing file. B<mpool_close>() returns 0 on success and -1 if an error "
1714 "関数 B<mpool_close>() はメモリプールクッキーの示す割り当て済みのメモリを解放"
1715 "する。 変更されたページはファイルにB<書き出されない>。 I<mpool_close ()> は成"
1716 "功すると 0 を、エラーがあると -1 を返す。"
1719 #: build/C/man3/mpool.3:183
1721 "The B<mpool_open>() function may fail and set I<errno> for any of the "
1722 "errors specified for the library routine B<malloc>(3)."
1724 "関数 B<mpool_open>() は失敗するとライブラリルーチン B<malloc>(3) で指定され"
1725 "ているエラーに応じた I<errno> をセットする。"
1728 #: build/C/man3/mpool.3:189
1730 "The B<mpool_get>() function may fail and set I<errno> for the following:"
1731 msgstr "関数 B<mpool_get>() は失敗すると次のような I<errno> をセットする。"
1734 #: build/C/man3/mpool.3:192
1735 msgid "The requested record doesn't exist."
1736 msgstr "要求のあったレコードは存在しない。"
1739 #: build/C/man3/mpool.3:204
1741 "The B<mpool_new>() and B<mpool_get>() functions may fail and set I<errno> "
1742 "for any of the errors specified for the library routines B<read>(2), B<write>"
1743 "(2), and B<malloc>(3)."
1745 "関数 B<mpool_new>() と B<mpool_get>() は失敗するとライブラリルーチン "
1746 "B<read>(2), B<write>(2), B<malloc>(3) で指定されているエラーに応じた "
1750 #: build/C/man3/mpool.3:211
1752 "The B<mpool_sync>() function may fail and set I<errno> for any of the "
1753 "errors specified for the library routine B<write>(2)."
1755 "関数 B<mpool_sync>() は失敗するとライブラリルーチン B<write>(2) で指定され"
1756 "ているエラーに応じた I<errno> をセットする。"
1759 #: build/C/man3/mpool.3:218
1761 "The B<mpool_close>() function may fail and set I<errno> for any of the "
1762 "errors specified for the library routine B<free>(3)."
1764 "関数 B<mpool_close>() は失敗するとライブラリルーチン B<free>(3) で指定され"
1765 "ているエラーに応じた I<errno> をセットする。"
1768 #: build/C/man3/mpool.3:218
1770 msgid "CONFORMING TO"
1774 #: build/C/man3/mpool.3:221
1775 msgid "Not in POSIX.1-2001. Present on the BSDs."
1776 msgstr "POSIX.1-2001 にはない。 BSD 系に存在する。"
1779 #: build/C/man3/mpool.3:225
1780 msgid "B<btree>(3), B<dbopen>(3), B<hash>(3), B<recno>(3)"
1781 msgstr "B<btree>(3), B<dbopen>(3), B<hash>(3), B<recno>(3)"
1784 #: build/C/man3/recno.3:34
1790 #: build/C/man3/recno.3:38
1791 msgid "recno - record number database access method"
1792 msgstr "recno - レコード番号データベースへのアクセスメソッド"
1795 #: build/C/man3/recno.3:53
1797 "The routine B<dbopen>(3) is the library interface to database files. One "
1798 "of the supported file formats is record number files. The general "
1799 "description of the database access methods is in B<dbopen>(3), this manual "
1800 "page describes only the recno specific information."
1802 "ルーチン B<dbopen>(3) はデータベースファイルに対するライブラリインターフェー"
1803 "スである。 サポートされているファイルフォーマットの一つに、 レコード番号ファ"
1804 "イル (record number file: recno file) がある。 データベースへのアクセスメソッ"
1805 "ドに関する一般的な記述は B<dbopen>(3), に書かれている。 このマニュアルページ"
1806 "では recno 特有の情報についてのみ記述する。"
1809 #: build/C/man3/recno.3:62
1811 "The record number data structure is either variable or fixed-length records "
1812 "stored in a flat-file format, accessed by the logical record number. The "
1813 "existence of record number five implies the existence of records one through "
1814 "four, and the deletion of record number one causes record number five to be "
1815 "renumbered to record number four, as well as the cursor, if positioned after "
1816 "record number one, to shift down one record."
1818 "レコード番号データ構造は、フラットなファイル形式に格納された 可変長/固定長レ"
1819 "コードからなり、論理レコード番号でアクセスされる。 レコード番号 5 があれば、"
1820 "レコード番号 1 から 4 も存在する。 レコード番号 1 を削除すると、レコード番号 "
1821 "5 は 4 に付け替えられ、 カーソルも移動する。レコード番号 1 以降のものは一つ繰"
1825 #: build/C/man3/recno.3:68
1827 "The recno access method specific data structure provided to B<dbopen>(3) is "
1828 "defined in the I<E<lt>db.hE<gt>> include file as follows:"
1830 "B<dbopen>(3) で使う recno アクセスメソッドに特有のデータ構造体は、 "
1831 "I<E<lt>db.hE<gt>> インクルードファイルで次のように定義されている。"
1834 #: build/C/man3/recno.3:80
1837 "typedef struct {\n"
1838 " unsigned long flags;\n"
1839 " unsigned int cachesize;\n"
1840 " unsigned int psize;\n"
1843 " unsigned char bval;\n"
1847 "typedef struct {\n"
1848 " unsigned long flags;\n"
1849 " unsigned int cachesize;\n"
1850 " unsigned int psize;\n"
1853 " unsigned char bval;\n"
1858 #: build/C/man3/recno.3:84
1859 msgid "The elements of this structure are defined as follows:"
1860 msgstr "この構造体の要素を以下に示す。"
1863 #: build/C/man3/recno.3:84
1869 #: build/C/man3/recno.3:89
1871 msgid "B<R_FIXEDLEN>"
1872 msgstr "B<R_FIXEDLEN>"
1875 #: build/C/man3/recno.3:100
1877 "The records are fixed-length, not byte delimited. The structure element "
1878 "I<reclen> specifies the length of the record, and the structure element "
1879 "I<bval> is used as the pad character. Any records, inserted into the "
1880 "database, that are less than I<reclen> bytes long are automatically padded."
1882 "レコード長が固定であり、バイト区切りではない。 構造体の要素 I<reclen> はレ"
1883 "コードの長さを指定する。また、要素 I<bval> は埋め文字 (pad character) を指定"
1884 "する。 データベースに入れられたレコードの内 I<reclen> バイトに満たないもので"
1885 "は、残りの部分に埋め文字が自動的に入る。"
1888 #: build/C/man3/recno.3:100
1894 #: build/C/man3/recno.3:113
1896 "In the interface specified by B<dbopen>(3), the sequential record retrieval "
1897 "fills in both the caller's key and data structures. If the B<R_NOKEY> flag "
1898 "is specified, the I<cursor> routines are not required to fill in the key "
1899 "structure. This permits applications to retrieve records at the end of "
1900 "files without reading all of the intervening records."
1902 "B<dbopen>(3) で指定されたインターフェイスでは、シーケンシャルなレコード取得"
1903 "は 呼び出しキーとデータ構造体の両方を埋めていく。 B<R_NOKEY> フラグが指定され"
1904 "ていると、キー構造体を埋めるのに I<cursor> ルーチンを必要としない。 これを用"
1905 "いれば、アプリケーションがファイルの終りの方を取得する際に、 その途中のレコー"
1909 #: build/C/man3/recno.3:113
1911 msgid "B<R_SNAPSHOT>"
1912 msgstr "B<R_SNAPSHOT>"
1915 #: build/C/man3/recno.3:119
1917 "This flag requires that a snapshot of the file be taken when B<dbopen>(3) "
1918 "is called, instead of permitting any unmodified records to be read from the "
1921 "このフラグを指定すると、 B<dbopen>(3) の呼び出しの際、 オリジナルファイルか"
1922 "ら変更されていないレコードを読む代わりに、 ファイルの snapshot を用いる。"
1925 #: build/C/man3/recno.3:129
1927 "A suggested maximum size, in bytes, of the memory cache. This value is "
1928 "B<only> advisory, and the access method will allocate more memory rather "
1929 "than fail. If I<cachesize> is 0 (no size is specified) a default cache is "
1932 "想定されるメモリキャッシュの最大サイズ (バイト単位)。 この値は B<あくまで> 参"
1933 "考であり、アクセスメソッドはこの値を越えたメモリの 割り当てに成功することもあ"
1934 "る。 I<cachesize> が 0 (あるいは指定されていない) の場合、デフォルトのキャッ"
1938 #: build/C/man3/recno.3:141
1940 "The recno access method stores the in-memory copies of its records in a "
1941 "btree. This value is the size (in bytes) of the pages used for nodes in "
1942 "that tree. If I<psize> is 0 (no page size is specified) a page size is "
1943 "chosen based on the underlying file system I/O block size. See B<btree>(3) "
1944 "for more information."
1946 "recno アクセスメソッドは、自身のレコードのコピーをメモリ内部に btree で保存し"
1947 "ている。 この値は、その btree 中のノードに対して用いられる ページサイズ (バイ"
1948 "ト単位) である。 I<psize> が 0 (あるいは指定されていない) の場合、 ファイルシ"
1949 "ステムの I/O ブロックサイズを基にして ページサイズが決められる。 詳細は "
1953 #: build/C/man3/recno.3:149
1959 #: build/C/man3/recno.3:152
1960 msgid "The length of a fixed-length record."
1961 msgstr "固定レコード長の長さ。"
1964 #: build/C/man3/recno.3:152
1970 #: build/C/man3/recno.3:160
1972 "The delimiting byte to be used to mark the end of a record for variable-"
1973 "length records, and the pad character for fixed-length records. If no value "
1974 "is specified, newlines (\"\\en\") are used to mark the end of variable-"
1975 "length records and fixed-length records are padded with spaces."
1977 "可変レコード長において、 レコードの終りを示す区切りバイト (区切り文字) であ"
1978 "る。 固定レコード長では埋め文字として使われる。 値が指定されていないと、 可変"
1979 "レコード長のレコードの終りには改行 (\"\\en\") が使われる。 固定レコード長のレ"
1980 "コードは空白 (space) で埋められる。"
1983 #: build/C/man3/recno.3:160
1989 #: build/C/man3/recno.3:170
1991 "The recno access method stores the in-memory copies of its records in a "
1992 "btree. If I<bfname> is non-NULL, it specifies the name of the btree file, "
1993 "as if specified as the filename for a B<dbopen>(3) of a btree file."
1995 "recno アクセスメソッドは、 自身のレコードのコピーをメモリ内部で btree に保存"
1996 "している。 I<bfname> が NULL でない場合、これは btree ファイル名 (btree ファ"
1997 "イルを B<dbopen>(3) する時に指定するファイル名) を指定する。"
2000 #: build/C/man3/recno.3:188
2002 "The data part of the key/data pair used by the I<recno> access method is the "
2003 "same as other access methods. The key is different. The I<data> field of "
2004 "the key should be a pointer to a memory location of type I<recno_t>, as "
2005 "defined in th I<E<lt>db.hE<gt>> include file. This type is normally the "
2006 "largest unsigned integral type available to the implementation. The I<size> "
2007 "field of the key should be the size of that type."
2009 "I<recno> アクセスメソッドで使われるキー/データ対のデータ部分は、 他のアクセス"
2010 "メソッドと同じである。 しかしキーは異なっている。 キーの I<data> フィールド"
2011 "は I<recno_t> 型の、メモリ位置へのポインタでなければならない。 I<recno_t> は "
2012 "I<E<lt>db.hE<gt>> インクルードファイルで定義されている。 この型は通常、その実"
2013 "装で利用可能な最大の符号無し整数である。 キーの I<size> フィールドはその型の"
2017 #: build/C/man3/recno.3:193
2019 "Because there can be no metadata associated with the underlying recno access "
2020 "method files, any changes made to the default values (e.g., fixed record "
2021 "length or byte separator value) must be explicitly specified each time the "
2024 "recno アクセスメソッドのファイルに関連づけられる メタデータは存在できないか"
2025 "ら、 デフォルト値 (固定レコード長やセパレータ文字など) に対する変更はファイ"
2026 "ルを開く毎に明示的に指定しなければならない。"
2029 #: build/C/man3/recno.3:201
2031 "In the interface specified by B<dbopen>(3), using the I<put> interface to "
2032 "create a new record will cause the creation of multiple, empty records if "
2033 "the record number is more than one greater than the largest record currently "
2036 "B<dbopen>(3) で指定されたインターフェイスでは、 I<put> インターフェイスを"
2037 "使って新しいレコードを作成するときに、 指定したレコード番号がデータベース中に"
2038 "存在している最大レコード番号より 一つ以上大きいと、 空のレコードが同時にでき"
2042 #: build/C/man3/recno.3:209
2044 "The I<recno> access method routines may fail and set I<errno> for any of the "
2045 "errors specified for the library routine B<dbopen>(3) or the following:"
2047 "I<recno> アクセスメソッドルーチンは失敗すると B<dbopen>(3) で指定されている"
2048 "エラーに応じた I<errno> か、 あるいは以下に示す I<errno> をセットする。"
2051 #: build/C/man3/recno.3:213
2053 "An attempt was made to add a record to a fixed-length database that was too "
2055 msgstr "固定長データベースにレコードを追加するとき、データが長すぎた。"
2058 #: build/C/man3/recno.3:220
2059 msgid "B<btree>(3), B<dbopen>(3), B<hash>(3), B<mpool>(3)"
2060 msgstr "B<btree>(3), B<dbopen>(3), B<hash>(3), B<mpool>(3)"
2063 #: build/C/man3/recno.3:223
2065 "I<Document Processing in a Relational Database System>, Michael Stonebraker, "
2066 "Heidi Stettner, Joseph Kalash, Antonin Guttman, Nadene Lynn, Memorandum No. "
2067 "UCB/ERL M82/32, May 1982."
2069 "I<Document Processing in a Relational Database System>, Michael Stonebraker, "
2070 "Heidi Stettner, Joseph Kalash, Antonin Guttman, Nadene Lynn, Memorandum No. "
2071 "UCB/ERL M82/32, May 1982."
2074 #~ msgstr "この文書について"
2077 #~ "This page is part of release 3.38 of the Linux I<man-pages> project. A "
2078 #~ "description of the project, and information about reporting bugs, can be "
2079 #~ "found at http://www.kernel.org/doc/man-pages/."
2081 #~ "この man ページは Linux I<man-pages> プロジェクトのリリース 3.38 の一部で"
2083 #~ "プロジェクトの説明とバグ報告に関する情報は\n"
2084 #~ "http://www.kernel.org/doc/man-pages/ に書かれている。"