Debian Codegraph @

po/ru/man3/dbopen.3.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Yuri Kozlov <[email protected]>, 2012-2019.
5 # Иван Павлов <[email protected]>, 2017.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:21+0200\n"
10 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
11 "Last-Translator: Yuri Kozlov <[email protected]>\n"
12 "Language-Team: Russian <[email protected]>\n"
13 "Language: ru\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
18 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
19 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
20 "X-Generator: Lokalize 2.0\n"
21
22 #. type: TH
23 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
24 #: opensuse-tumbleweed
25 #, no-wrap
26 msgid "dbopen"
27 msgstr ""
28
29 #. type: TH
30 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
31 #: opensuse-tumbleweed
32 #, no-wrap
33 msgid "2025-05-17"
34 msgstr "17 мая 2025 г."
35
36 #. type: TH
37 #: archlinux debian-unstable
38 #, fuzzy, no-wrap
39 #| msgid "Linux man-pages 6.17"
40 msgid "Linux man-pages 6.18"
41 msgstr "Справочные страницы Linux 6.17"
42
43 #. type: SH
44 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
45 #: opensuse-tumbleweed
46 #, no-wrap
47 msgid "NAME"
48 msgstr "НАИМЕНОВАНИЕ"
49
50 #. type: Plain text
51 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
52 #: opensuse-tumbleweed
53 msgid "dbopen - database access methods"
54 msgstr "dbopen - методы доступа к базе данных"
55
56 #. type: SH
57 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
58 #: opensuse-tumbleweed
59 #, no-wrap
60 msgid "LIBRARY"
61 msgstr "БИБЛИОТЕКА"
62
63 #. type: Plain text
64 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
65 #: opensuse-tumbleweed
66 msgid "Standard C library (I<libc>,\\ I<-lc>)"
67 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
71 #: opensuse-tumbleweed
72 #, no-wrap
73 msgid "SYNOPSIS"
74 msgstr "СИНТАКСИС"
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
78 #: opensuse-tumbleweed
79 #, no-wrap
80 msgid ""
81 "B<#include E<lt>sys/types.hE<gt>>\n"
82 "B<#include E<lt>limits.hE<gt>>\n"
83 "B<#include E<lt>db.hE<gt>>\n"
84 "B<#include E<lt>fcntl.hE<gt>>\n"
85 msgstr ""
86 "B<#include E<lt>sys/types.hE<gt>>\n"
87 "B<#include E<lt>limits.hE<gt>>\n"
88 "B<#include E<lt>db.hE<gt>>\n"
89 "B<#include E<lt>fcntl.hE<gt>>\n"
90
91 #. type: Plain text
92 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
93 #: opensuse-tumbleweed
94 #, fuzzy, no-wrap
95 #| msgid ""
96 #| "B<DB *dbopen(const char *>I<file>B<, int >I<flags>B<, int >I<mode>B<, DBTYPE >I<type>B<,>\n"
97 #| "B< const void *>I<openinfo>B<);>\n"
98 msgid ""
99 "B<DB *dbopen(const char *>I<path>B<, int >I<flags>B<, int >I<mode>B<, DBTYPE >I<type>B<,>\n"
100 "B< const void *>I<openinfo>B<);>\n"
101 msgstr ""
102 "B<DB *dbopen(const char *>I<file>B<, int >I<flags>B<, int >I<mode>B<, DBTYPE >I<type>B<,>\n"
103 "B< const void *>I<openinfo>B<);>\n"
104
105 #. type: SH
106 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
107 #: opensuse-tumbleweed
108 #, no-wrap
109 msgid "DESCRIPTION"
110 msgstr "ОПИСАНИЕ"
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
114 #: opensuse-tumbleweed
115 msgid ""
116 "I<Note well>: This page documents interfaces provided up until glibc 2.1. "
117 "Since glibc 2.2, glibc no longer provides these interfaces. Probably, you "
118 "are looking for the APIs provided by the I<libdb> library instead."
119 msgstr ""
120 "I<Примечание>: На этой странице описаны интерфейсы, предоставляемые до glibc "
121 "2.1. Начиная с glibc 2.2, glibc больше не поддерживает эти интерфейсы. "
122 "Вероятно, вы ищите API, предоставляемое библиотекой I<libdb>."
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
126 #: opensuse-tumbleweed
127 #, fuzzy
128 #| msgid ""
129 #| "B<dbopen>() is the library interface to database files. The supported "
130 #| "file formats are btree, hashed and UNIX file oriented. The btree format "
131 #| "is a representation of a sorted, balanced tree structure. The hashed "
132 #| "format is an extensible, dynamic hashing scheme. The flat-file format is "
133 #| "a byte stream file with fixed or variable length records. The formats "
134 #| "and file-format-specific information are described in detail in their "
135 #| "respective manual pages B<btree>(3), B<hash>(3), and B<recno>(3)."
136 msgid ""
137 "B<dbopen>() is the library interface to database files. The supported file "
138 "formats are btree, hashed, and UNIX file oriented. The btree format is a "
139 "representation of a sorted, balanced tree structure. The hashed format is "
140 "an extensible, dynamic hashing scheme. The flat-file format is a byte "
141 "stream file with fixed or variable length records. The formats and file-"
142 "format-specific information are described in detail in their respective "
143 "manual pages B<btree>(3), B<hash>(3), and B<recno>(3)."
144 msgstr ""
145 "B<dbopen>() — это библиотека для взаимодействия с файлами баз данных. "
146 "Поддерживаются форматы файлов btree, hashed и UNIX. Формат btree "
147 "представляет собой отсортированную, сбалансированную древовидную структуру. "
148 "Формат hashed — это гибкая, динамическая схема хэширования. Формат простого "
149 "файла UNIX — поток байтов с записями постоянной или переменной длины. Сами "
150 "форматы и формат файлов описываются детально в соответствующих справочных "
151 "страницах B<btree>(3), B<hash>(3) и B<recno>(3)."
152
153 #. type: Plain text
154 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
155 #: opensuse-tumbleweed
156 #, fuzzy
157 #| msgid ""
158 #| "B<dbopen>() opens I<file> for reading and/or writing. Files never "
159 #| "intended to be preserved on disk may be created by setting the I<file> "
160 #| "argument to NULL."
161 msgid ""
162 "B<dbopen>() opens I<path> for reading and/or writing. Files never intended "
163 "to be preserved on disk may be created by setting the I<path> argument to "
164 "NULL."
165 msgstr ""
166 "B<dbopen>() открывает I<file> для чтения и/или записи. Файлы, не "
167 "предназначенные для хранения на диске, могут быть созданы заданием параметру "
168 "I<file> значения NULL."
169
170 #. Three additional options may be specified by ORing
171 #. them into the
172 #. .I flags
173 #. argument.
174 #. .TP
175 #. DB_LOCK
176 #. Do the necessary locking in the database to support concurrent access.
177 #. If concurrent access isn't needed or the database is read-only this
178 #. flag should not be set, as it tends to have an associated performance
179 #. penalty.
180 #. .TP
181 #. DB_SHMEM
182 #. Place the underlying memory pool used by the database in shared
183 #. memory.
184 #. Necessary for concurrent access.
185 #. .TP
186 #. DB_TXN
187 #. Support transactions in the database.
188 #. The DB_LOCK and DB_SHMEM flags must be set as well.
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
191 #: opensuse-tumbleweed
192 msgid ""
193 "The I<flags> and I<mode> arguments are as specified to the B<open>(2) "
194 "routine, however, only the B<O_CREAT>, B<O_EXCL>, B<O_EXLOCK>, "
195 "B<O_NONBLOCK>, B<O_RDONLY>, B<O_RDWR>, B<O_SHLOCK>, and B<O_TRUNC> flags are "
196 "meaningful. (Note, opening a database file B<O_WRONLY> is not possible.)"
197 msgstr ""
198 "Значения аргументов I<flags> и I<mode> те же, что у вызова B<open>(2), "
199 "однако имеют значение только флаги B<O_CREAT>, B<O_EXCL>, B<O_EXLOCK>, "
200 "B<O_NONBLOCK>, B<O_RDONLY>, B<O_RDWR>, B<O_SHLOCK> и B<O_TRUNC>. Открытие "
201 "файла базы данных с B<O_WRONLY> невозможно."
202
203 #. type: Plain text
204 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
205 #: opensuse-tumbleweed
206 msgid ""
207 "The I<type> argument is of type I<DBTYPE> (as defined in the "
208 "I<E<lt>db.hE<gt>> include file) and may be set to B<DB_BTREE>, B<DB_HASH>, "
209 "or B<DB_RECNO>."
210 msgstr ""
211 "Аргумент I<type> имеет тип I<DBTYPE> (определён в файле заголовков "
212 "I<E<lt>db.hE<gt>>) и может быть равен B<DB_BTREE>, B<DB_HASH> или "
213 "B<DB_RECNO>."
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
217 #: opensuse-tumbleweed
218 msgid ""
219 "The I<openinfo> argument is a pointer to an access-method-specific structure "
220 "described in the access method's manual page. If I<openinfo> is NULL, each "
221 "access method will use defaults appropriate for the system and the access "
222 "method."
223 msgstr ""
224 "Аргумент I<openinfo> является указателем на структуру метода доступа, "
225 "описанную в справочной странице, посвящённой методам доступа. Если значение "
226 "I<openinfo> равно NULL, то каждый метод доступа будет использовать установки "
227 "по умолчанию для системы и метода доступа."
228
229 #. type: Plain text
230 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
231 #: opensuse-tumbleweed
232 msgid ""
233 "B<dbopen>() returns a pointer to a I<DB> structure on success and NULL on "
234 "error. The I<DB> structure is defined in the I<E<lt>db.hE<gt>> include "
235 "file, and contains at least the following fields:"
236 msgstr ""
237 "При успешном выполнении B<dbopen>() возвращает указатель на структуру I<DB> "
238 "и NULL при ошибке. Структура I<DB> определена в файле I<E<lt>db.hE<gt>> и "
239 "содержит, как минимум, следующие поля:"
240
241 #. type: Plain text
242 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
243 #: opensuse-tumbleweed
244 #, no-wrap
245 msgid ""
246 "typedef struct {\n"
247 " DBTYPE type;\n"
248 " int (*close)(const DB *db);\n"
249 " int (*del)(const DB *db, const DBT *key, unsigned int flags);\n"
250 " int (*fd)(const DB *db);\n"
251 " int (*get)(const DB *db, DBT *key, DBT *data,\n"
252 " unsigned int flags);\n"
253 " int (*put)(const DB *db, DBT *key, const DBT *data,\n"
254 " unsigned int flags);\n"
255 " int (*sync)(const DB *db, unsigned int flags);\n"
256 " int (*seq)(const DB *db, DBT *key, DBT *data,\n"
257 " unsigned int flags);\n"
258 "} DB;\n"
259 msgstr ""
260 "typedef struct {\n"
261 " DBTYPE type;\n"
262 " int (*close)(const DB *db);\n"
263 " int (*del)(const DB *db, const DBT *key, unsigned int flags);\n"
264 " int (*fd)(const DB *db);\n"
265 " int (*get)(const DB *db, DBT *key, DBT *data,\n"
266 " unsigned int flags);\n"
267 " int (*put)(const DB *db, DBT *key, const DBT *data,\n"
268 " unsigned int flags);\n"
269 " int (*sync)(const DB *db, unsigned int flags);\n"
270 " int (*seq)(const DB *db, DBT *key, DBT *data,\n"
271 " unsigned int flags);\n"
272 "} DB;\n"
273
274 #. type: Plain text
275 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
276 #: opensuse-tumbleweed
277 msgid ""
278 "These elements describe a database type and a set of functions performing "
279 "various actions. These functions take a pointer to a structure as returned "
280 "by B<dbopen>(), and sometimes one or more pointers to key/data structures "
281 "and a flag value."
282 msgstr ""
283 "Эти элементы описывают тип базы данных и набор функций, выполняющих "
284 "различные действия. Функции используют указатель на структуру, возвращаемый "
285 "B<dbopen>(), и иногда один или несколько указателей на структуры ключ/данные "
286 "и на значения флагов."
287
288 #. type: TP
289 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
290 #: opensuse-tumbleweed
291 #, no-wrap
292 msgid "I<type>"
293 msgstr "I<type>"
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
297 #: opensuse-tumbleweed
298 msgid "The type of the underlying access method (and file format)."
299 msgstr "Тип лежащего в основе метода доступа (и формат файла)."
300
301 #. type: TP
302 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
303 #: opensuse-tumbleweed
304 #, no-wrap
305 msgid "I<close>"
306 msgstr "I<close>"
307
308 #. type: Plain text
309 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
310 #: opensuse-tumbleweed
311 msgid ""
312 "A pointer to a routine to flush any cached information to disk, free any "
313 "allocated resources, and close the underlying file(s). Since key/data pairs "
314 "may be cached in memory, failing to sync the file with a I<close> or I<sync> "
315 "function may result in inconsistent or lost information. I<close> routines "
316 "return -1 on error (setting I<errno>) and 0 on success."
317 msgstr ""
318 "Указатель на функцию, которая записывает любую кэшированную информацию на "
319 "диск, освобождает занятые ресурсы и закрывает используемый файл(-ы). Так как "
320 "пары ключ/данные могут быть кэшированы в памяти, ошибка синхронизации файла "
321 "при функциях I<close> или I<sync> может привести к повреждению или потере "
322 "данных. Функция I<close> возвращает -1 при ошибках (меняя при этом, "
323 "соответственно, значение переменной I<errno>) и 0 при успешном выполнении."
324
325 #. type: TP
326 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
327 #: opensuse-tumbleweed
328 #, no-wrap
329 msgid "I<del>"
330 msgstr "I<del>"
331
332 #. type: Plain text
333 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
334 #: opensuse-tumbleweed
335 msgid "A pointer to a routine to remove key/data pairs from the database."
336 msgstr "Указатель на функцию для удаления пар ключ/данные из базы данных."
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
340 #: opensuse-tumbleweed
341 msgid "The argument I<flag> may be set to the following value:"
342 msgstr "Значение параметра I<flag> может быть следующим:"
343
344 #. type: TP
345 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
346 #: opensuse-tumbleweed
347 #, no-wrap
348 msgid "B<R_CURSOR>"
349 msgstr "B<R_CURSOR>"
350
351 #. type: Plain text
352 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
353 #: opensuse-tumbleweed
354 msgid ""
355 "Delete the record referenced by the cursor. The cursor must have previously "
356 "been initialized."
357 msgstr ""
358 "Удаление записи, на которую ссылается курсор. Курсор предварительно должен "
359 "быть инициализирован."
360
361 #. type: Plain text
362 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
363 #: opensuse-tumbleweed
364 msgid ""
365 "I<delete> routines return -1 on error (setting I<errno>), 0 on success, and "
366 "1 if the specified I<key> was not in the file."
367 msgstr ""
368 "Функция I<delete> возвращает -1 при ошибке (изменяет I<errno>), 0 при "
369 "успешном выполнении и 1, если указанного ключа I<key> нет в файле."
370
371 #. type: TP
372 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
373 #: opensuse-tumbleweed
374 #, no-wrap
375 msgid "I<fd>"
376 msgstr "I<fd>"
377
378 #. type: Plain text
379 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
380 #: opensuse-tumbleweed
381 #, fuzzy
382 #| msgid ""
383 #| "A pointer to a routine which returns a file descriptor representative of "
384 #| "the underlying database. A file descriptor referencing the same file "
385 #| "will be returned to all processes which call B<dbopen>() with the same "
386 #| "I<file> name. This file descriptor may be safely used as an argument to "
387 #| "the B<fcntl>(2) and B<flock>(2) locking functions. The file descriptor "
388 #| "is not necessarily associated with any of the underlying files used by "
389 #| "the access method. No file descriptor is available for in memory "
390 #| "databases. I<fd> routines return -1 on error (setting I<errno>), and the "
391 #| "file descriptor on success."
392 msgid ""
393 "A pointer to a routine which returns a file descriptor representative of the "
394 "underlying database. A file descriptor referencing the same file will be "
395 "returned to all processes which call B<dbopen>() with the same I<path> "
396 "name. This file descriptor may be safely used as an argument to the "
397 "B<fcntl>(2) and B<flock>(2) locking functions. The file descriptor is not "
398 "necessarily associated with any of the underlying files used by the access "
399 "method. No file descriptor is available for in memory databases. I<fd> "
400 "routines return -1 on error (setting I<errno>), and the file descriptor on "
401 "success."
402 msgstr ""
403 "Указатель на функцию, которая возвращает дескриптор файла, представляющий "
404 "используемую базу данных. Дескриптор файла, ссылающийся на тот же файл, "
405 "будет возвращаться всем процессам, которые вызывают B<dbopen>() с этим "
406 "именем файла I<file>. Этот дескриптор файла может быть использован как "
407 "аргумент для блокирующих функций B<fcntl>(2) и B<flock>(2). Файловый "
408 "дескриптор необязательно связывать с какими-либо из файлов, лежащих в основе "
409 "используемого метода доступа. Для баз данных в памяти файловые дескрипторы "
410 "недоступны. Функция I<fd> возвращает -1 при ошибке (меняет при этом, "
411 "соответственно, значение переменной I<errno>) или дескриптор файла при "
412 "успешном выполнении."
413
414 #. type: TP
415 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
416 #: opensuse-tumbleweed
417 #, no-wrap
418 msgid "I<get>"
419 msgstr "I<get>"
420
421 #. type: Plain text
422 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
423 #: opensuse-tumbleweed
424 msgid ""
425 "A pointer to a routine which is the interface for keyed retrieval from the "
426 "database. The address and length of the data associated with the specified "
427 "I<key> are returned in the structure referenced by I<data>. I<get> routines "
428 "return -1 on error (setting I<errno>), 0 on success, and 1 if the I<key> was "
429 "not in the file."
430 msgstr ""
431 "Указатель на функцию, которая является интерфейсом для поиска по ключу в "
432 "базе данных. Адрес и размер данных, связанных с указанным ключом I<key>, "
433 "возвращается в структуре, указываемой I<data>. Функция I<get> возвращает -1 "
434 "при ошибке (меняя при этом, соответственно, значение переменной I<errno>), 0 "
435 "при успешном выполнении и 1, если ключа I<key> нет в файле."
436
437 #. type: TP
438 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
439 #: opensuse-tumbleweed
440 #, no-wrap
441 msgid "I<put>"
442 msgstr "I<put>"
443
444 #. type: Plain text
445 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
446 #: opensuse-tumbleweed
447 msgid "A pointer to a routine to store key/data pairs in the database."
448 msgstr "Указатель на функцию, сохраняющую пары ключ/данные в базе данных."
449
450 #. type: Plain text
451 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
452 #: opensuse-tumbleweed
453 msgid "The argument I<flag> may be set to one of the following values:"
454 msgstr "Значение параметра I<flag> может быть одним из следующих:"
455
456 #. type: Plain text
457 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
458 #: opensuse-tumbleweed
459 msgid ""
460 "Replace the key/data pair referenced by the cursor. The cursor must have "
461 "previously been initialized."
462 msgstr ""
463 "Замена пары ключ/данные, на которую ссылается курсор. Курсор предварительно "
464 "должен быть инициализирован."
465
466 #. type: TP
467 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
468 #: opensuse-tumbleweed
469 #, no-wrap
470 msgid "B<R_IAFTER>"
471 msgstr "B<R_IAFTER>"
472
473 #. type: Plain text
474 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
475 #: opensuse-tumbleweed
476 msgid ""
477 "Append the data immediately after the data referenced by I<key>, creating a "
478 "new key/data pair. The record number of the appended key/data pair is "
479 "returned in the I<key> structure. (Applicable only to the B<DB_RECNO> "
480 "access method.)"
481 msgstr ""
482 "Добавление данных сразу после тех данных, которые связаны с ключом I<key>; "
483 "создание новой пары ключ/данные. Номер записи добавленной пары ключ/данные "
484 "возвращается в структуре I<key> (применимо только в случае метода доступа "
485 "B<DB_RECNO>)."
486
487 #. type: TP
488 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
489 #: opensuse-tumbleweed
490 #, no-wrap
491 msgid "B<R_IBEFORE>"
492 msgstr "B<R_IBEFORE>"
493
494 #. type: Plain text
495 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
496 #: opensuse-tumbleweed
497 msgid ""
498 "Insert the data immediately before the data referenced by I<key>, creating a "
499 "new key/data pair. The record number of the inserted key/data pair is "
500 "returned in the I<key> structure. (Applicable only to the B<DB_RECNO> "
501 "access method.)"
502 msgstr ""
503 "Вставка данных перед данными, связанными с ключом I<key>; создание новой "
504 "пары ключ/данные. Номер записи добавленной пары ключ/данные возвращается в "
505 "структуре I<key> (применимо только в случае метода доступа B<DB_RECNO>)."
506
507 #. type: TP
508 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
509 #: opensuse-tumbleweed
510 #, no-wrap
511 msgid "B<R_NOOVERWRITE>"
512 msgstr "B<R_NOOVERWRITE>"
513
514 #. type: Plain text
515 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
516 #: opensuse-tumbleweed
517 msgid "Enter the new key/data pair only if the key does not previously exist."
518 msgstr ""
519 "Добавление новой пары ключ/данные, только если ключ ещё не существовал."
520
521 #. type: TP
522 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
523 #: opensuse-tumbleweed
524 #, no-wrap
525 msgid "B<R_SETCURSOR>"
526 msgstr "B<R_SETCURSOR>"
527
528 #. type: Plain text
529 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
530 #: opensuse-tumbleweed
531 msgid ""
532 "Store the key/data pair, setting or initializing the position of the cursor "
533 "to reference it. (Applicable only to the B<DB_BTREE> and B<DB_RECNO> access "
534 "methods.)"
535 msgstr ""
536 "Сохранение пары ключ/данные, установка или инициализация позиции курсора для "
537 "ссылки на неё (применимо только в случае метода доступа B<DB_BTREE> и "
538 "B<DB_RECNO>)."
539
540 #. type: Plain text
541 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
542 #: opensuse-tumbleweed
543 msgid ""
544 "B<R_SETCURSOR> is available only for the B<DB_BTREE> and B<DB_RECNO> access "
545 "methods because it implies that the keys have an inherent order which does "
546 "not change."
547 msgstr ""
548 "Значение B<R_SETCURSOR> доступно только в случае методов доступа B<DB_BTREE> "
549 "и B<DB_RECNO>, поскольку они предполагают, что ключи имеют определённый "
550 "порядок, который не изменяется."
551
552 #. type: Plain text
553 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
554 #: opensuse-tumbleweed
555 msgid ""
556 "B<R_IAFTER> and B<R_IBEFORE> are available only for the B<DB_RECNO> access "
557 "method because they each imply that the access method is able to create new "
558 "keys. This is true only if the keys are ordered and independent, record "
559 "numbers for example."
560 msgstr ""
561 "Значения B<R_IAFTER> и B<R_IBEFORE> доступны только в случае метода доступа "
562 "B<DB_RECNO>, поскольку предполагается, что метод доступа позволяет создавать "
563 "новые ключи. Это возможно, только если ключи отсортированы и независимы, "
564 "например, они могут представлять собой номера записей."
565
566 #. type: Plain text
567 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
568 #: opensuse-tumbleweed
569 msgid ""
570 "The default behavior of the I<put> routines is to enter the new key/data "
571 "pair, replacing any previously existing key."
572 msgstr ""
573 "Поведение по умолчанию функции I<put> предусматривает ввод новой пары ключ/"
574 "данные, заменяя при этом уже существующий ключ."
575
576 #. type: Plain text
577 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
578 #: opensuse-tumbleweed
579 msgid ""
580 "I<put> routines return -1 on error (setting I<errno>), 0 on success, and 1 "
581 "if the B<R_NOOVERWRITE> I<flag> was set and the key already exists in the "
582 "file."
583 msgstr ""
584 "Функция I<put> возвращает -1 при ошибке (меняя при этом, соответственно, "
585 "значение переменной I<errno>), 0 при успешном выполнении и 1, если значение "
586 "I<flag> равно B<R_NOOVERWRITE> и ключ в файле уже существует."
587
588 #. type: TP
589 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
590 #: opensuse-tumbleweed
591 #, no-wrap
592 msgid "I<seq>"
593 msgstr "I<seq>"
594
595 #. type: Plain text
596 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
597 #: opensuse-tumbleweed
598 msgid ""
599 "A pointer to a routine which is the interface for sequential retrieval from "
600 "the database. The address and length of the key are returned in the "
601 "structure referenced by I<key>, and the address and length of the data are "
602 "returned in the structure referenced by I<data>."
603 msgstr ""
604 "Указатель на функцию, которая является интерфейсом для последовательной "
605 "выборки в базе данных. Адрес и размер ключа возвращается в структуре, "
606 "определяемой I<key>, а адрес и размер данных — в структуре, определяемой "
607 "I<data>."
608
609 #. type: Plain text
610 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
611 #: opensuse-tumbleweed
612 msgid ""
613 "Sequential key/data pair retrieval may begin at any time, and the position "
614 "of the \"cursor\" is not affected by calls to the I<del>, I<get>, I<put>, or "
615 "I<sync> routines. Modifications to the database during a sequential scan "
616 "will be reflected in the scan, that is, records inserted behind the cursor "
617 "will not be returned while records inserted in front of the cursor will be "
618 "returned."
619 msgstr ""
620 "Последовательная выборка пар ключ/данные может быть начата в любой момент, и "
621 "позиция «курсора» не подвергнется изменениям при вызове функций I<del>, "
622 "I<get>, I<put> или I<sync>. Изменение базы данных в процессе "
623 "последовательного просмотра отразится на просмотре, т. е. запись, "
624 "вставленная позади курсора, не будет возвращена, пока не будет возвращена "
625 "запись, вставленная перед курсором."
626
627 #. type: Plain text
628 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
629 #: opensuse-tumbleweed
630 msgid "The flag value B<must> be set to one of the following values:"
631 msgstr "Значение флага B<должно> быть равно одному из следующих значений:"
632
633 #. type: Plain text
634 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
635 #: opensuse-tumbleweed
636 msgid ""
637 "The data associated with the specified key is returned. This differs from "
638 "the I<get> routines in that it sets or initializes the cursor to the "
639 "location of the key as well. (Note, for the B<DB_BTREE> access method, the "
640 "returned key is not necessarily an exact match for the specified key. The "
641 "returned key is the smallest key greater than or equal to the specified key, "
642 "permitting partial key matches and range searches.)"
643 msgstr ""
644 "Возвращаются данные, связанные с указанным ключом. Отличается от функции "
645 "I<get> тем, что дополнительно происходит установка или инициализация "
646 "курсора. Заметим, что при методе доступа B<DB_BTREE> необязательно, чтобы "
647 "возвращаемый ключ в точности соответствовал указанному. Возвращаемый ключ — "
648 "наименьший ключ из больших или равных указанному ключу. При этом допускается "
649 "частичное соответствие ключей и поиск их в диапазонах."
650
651 #. type: TP
652 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
653 #: opensuse-tumbleweed
654 #, no-wrap
655 msgid "B<R_FIRST>"
656 msgstr "B<R_FIRST>"
657
658 #. type: Plain text
659 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
660 #: opensuse-tumbleweed
661 msgid ""
662 "The first key/data pair of the database is returned, and the cursor is set "
663 "or initialized to reference it."
664 msgstr ""
665 "Возвращается первая пара ключ/данные из базы данных, а курсор "
666 "устанавливается или инициализируется для ссылки на него."
667
668 #. type: TP
669 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
670 #: opensuse-tumbleweed
671 #, no-wrap
672 msgid "B<R_LAST>"
673 msgstr "B<R_LAST>"
674
675 #. type: Plain text
676 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
677 #: opensuse-tumbleweed
678 msgid ""
679 "The last key/data pair of the database is returned, and the cursor is set or "
680 "initialized to reference it. (Applicable only to the B<DB_BTREE> and "
681 "B<DB_RECNO> access methods.)"
682 msgstr ""
683 "Возвращается последняя пара ключ/данные из базы данных, а курсор "
684 "устанавливается или инициализируется для ссылки на него. Применимо только "
685 "для методов доступа B<DB_BTREE> и B<DB_RECNO>."
686
687 #. type: TP
688 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
689 #: opensuse-tumbleweed
690 #, no-wrap
691 msgid "B<R_NEXT>"
692 msgstr "B<R_NEXT>"
693
694 #. type: Plain text
695 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
696 #: opensuse-tumbleweed
697 msgid ""
698 "Retrieve the key/data pair immediately after the cursor. If the cursor is "
699 "not yet set, this is the same as the B<R_FIRST> flag."
700 msgstr ""
701 "Возвращается пара ключ/данные, стоящая непосредственно после курсора. Если "
702 "курсор ещё не был установлен, выполняется тоже, что при флаге B<R_FIRST>."
703
704 #. type: TP
705 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
706 #: opensuse-tumbleweed
707 #, no-wrap
708 msgid "B<R_PREV>"
709 msgstr "B<R_PREV>"
710
711 #. type: Plain text
712 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
713 #: opensuse-tumbleweed
714 msgid ""
715 "Retrieve the key/data pair immediately before the cursor. If the cursor is "
716 "not yet set, this is the same as the B<R_LAST> flag. (Applicable only to "
717 "the B<DB_BTREE> and B<DB_RECNO> access methods.)"
718 msgstr ""
719 "Возвращается пара ключ/данные, стоящая непосредственно перед курсором. Если "
720 "курсор ещё не был установлен, выполняется тоже, что при флаге B<R_LAST>. "
721 "Применимо только для методов доступа B<DB_BTREE> и B<DB_RECNO>."
722
723 #. type: Plain text
724 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
725 #: opensuse-tumbleweed
726 msgid ""
727 "B<R_LAST> and B<R_PREV> are available only for the B<DB_BTREE> and "
728 "B<DB_RECNO> access methods because they each imply that the keys have an "
729 "inherent order which does not change."
730 msgstr ""
731 "Флаги B<R_LAST> и B<R_PREV> подходят только для методов доступа B<DB_BTREE> "
732 "и B<DB_RECNO>, поскольку при этом предполагается, что ключи расположены в "
733 "строгом неизменном порядке."
734
735 #. type: Plain text
736 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
737 #: opensuse-tumbleweed
738 msgid ""
739 "I<seq> routines return -1 on error (setting I<errno>), 0 on success and 1 if "
740 "there are no key/data pairs less than or greater than the specified or "
741 "current key. If the B<DB_RECNO> access method is being used, and if the "
742 "database file is a character special file and no complete key/data pairs are "
743 "currently available, the I<seq> routines return 2."
744 msgstr ""
745 "Функция I<seq> возвращает -1 при ошибке (изменяя при этом значение "
746 "переменной I<errno>), 0 при успешном выполнении и 1, если не обнаруживается "
747 "пары ключ/данные, меньшей или большей по значению, чем указанный или текущий "
748 "ключ. Если используется метод доступа B<DB_RECNO>, а файл базы данных "
749 "представляет собой специальный символьный файл (и нет доступных полных пар "
750 "ключ/данные), то функция I<seq> возвращает значение 2."
751
752 #. type: TP
753 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
754 #: opensuse-tumbleweed
755 #, no-wrap
756 msgid "I<sync>"
757 msgstr "I<sync>"
758
759 #. type: Plain text
760 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
761 #: opensuse-tumbleweed
762 msgid ""
763 "A pointer to a routine to flush any cached information to disk. If the "
764 "database is in memory only, the I<sync> routine has no effect and will "
765 "always succeed."
766 msgstr ""
767 "Указатель на функцию, которая записывает любые кэшированные данные на диск. "
768 "Если база данных находится только в памяти, функция I<sync> не выполняет "
769 "никаких действий и всегда выполняется без ошибок."
770
771 #. type: Plain text
772 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
773 #: opensuse-tumbleweed
774 msgid "The flag value may be set to the following value:"
775 msgstr "Значение параметра I<flag> может быть следующим:"
776
777 #. type: TP
778 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
779 #: opensuse-tumbleweed
780 #, no-wrap
781 msgid "B<R_RECNOSYNC>"
782 msgstr "B<R_RECNOSYNC>"
783
784 #. type: Plain text
785 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
786 #: opensuse-tumbleweed
787 msgid ""
788 "If the B<DB_RECNO> access method is being used, this flag causes the sync "
789 "routine to apply to the btree file which underlies the recno file, not the "
790 "recno file itself. (See the I<bfname> field of the B<recno>(3) manual page "
791 "for more information.)"
792 msgstr ""
793 "При методе доступа B<DB_RECNO> этот флаг служит причиной применения функции "
794 "I<sync> к файлу btree, лежащему в основе файла recno, а не к самому файлу "
795 "recno (см. поле I<bfname> в справочной странице B<recno>(3))."
796
797 #. type: Plain text
798 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
799 #: opensuse-tumbleweed
800 msgid ""
801 "I<sync> routines return -1 on error (setting I<errno>) and 0 on success."
802 msgstr ""
803 "Функция I<sync> возвращает -1 при ошибке (меняя при этом значение переменной "
804 "I<errno>) или 0 при успешном выполнении."
805
806 #. type: SS
807 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
808 #: opensuse-tumbleweed
809 #, no-wrap
810 msgid "Key/data pairs"
811 msgstr "Пары ключ/данные"
812
813 #. type: Plain text
814 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
815 #: opensuse-tumbleweed
816 msgid ""
817 "Access to all file types is based on key/data pairs. Both keys and data are "
818 "represented by the following data structure:"
819 msgstr ""
820 "Доступ ко всем типам файлов основан на парах ключ/данные. Ключ и данные "
821 "описываются следующей структурой данных:"
822
823 #. type: Plain text
824 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
825 #: opensuse-tumbleweed
826 #, no-wrap
827 msgid ""
828 "typedef struct {\n"
829 " void *data;\n"
830 " size_t size;\n"
831 "} DBT;\n"
832 msgstr ""
833 "typedef struct {\n"
834 " void *data;\n"
835 " size_t size;\n"
836 "} DBT;\n"
837
838 #. type: Plain text
839 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
840 #: opensuse-tumbleweed
841 msgid "The elements of the I<DBT> structure are defined as follows:"
842 msgstr "Элементы структуры B<DBT> определяются так:"
843
844 #. type: TP
845 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
846 #: opensuse-tumbleweed
847 #, no-wrap
848 msgid "I<data>"
849 msgstr "I<data>"
850
851 #. type: Plain text
852 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
853 #: opensuse-tumbleweed
854 msgid "A pointer to a byte string."
855 msgstr "Указатель на строку байтов."
856
857 #. type: TP
858 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
859 #: opensuse-tumbleweed
860 #, no-wrap
861 msgid "I<size>"
862 msgstr "I<size>"
863
864 #. type: Plain text
865 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
866 #: opensuse-tumbleweed
867 msgid "The length of the byte string."
868 msgstr "Размер строки байтов."
869
870 #. type: Plain text
871 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
872 #: opensuse-tumbleweed
873 msgid ""
874 "Key and data byte strings may reference strings of essentially unlimited "
875 "length although any two of them must fit into available memory at the same "
876 "time. It should be noted that the access methods provide no guarantees "
877 "about byte string alignment."
878 msgstr ""
879 "Байтовые строки ключа и данных могут ссылаться на строки практически "
880 "неограниченной длины, хотя любые две из них должны помещаться в доступной "
881 "памяти одновременно. Не забывайте, что методы доступа не гарантируют "
882 "выравнивания байтовых строк."
883
884 #. type: SH
885 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
886 #: opensuse-tumbleweed
887 #, no-wrap
888 msgid "ERRORS"
889 msgstr "ОШИБКИ"
890
891 #. type: Plain text
892 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
893 #: opensuse-tumbleweed
894 msgid ""
895 "The B<dbopen>() routine may fail and set I<errno> for any of the errors "
896 "specified for the library routines B<open>(2) and B<malloc>(3) or the "
897 "following:"
898 msgstr ""
899 "Функция B<dbopen>() может завершиться с ошибкой и присвоить переменной "
900 "I<errno> значения, определённые в библиотечных функциях B<open>(2) и "
901 "B<malloc>(3), а также дополнительно:"
902
903 #. type: TP
904 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
905 #: opensuse-tumbleweed
906 #, no-wrap
907 msgid "B<EFTYPE>"
908 msgstr "B<EFTYPE>"
909
910 #. type: Plain text
911 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
912 #: opensuse-tumbleweed
913 msgid "A file is incorrectly formatted."
914 msgstr "Файл неверного формата."
915
916 #. type: TP
917 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
918 #: opensuse-tumbleweed
919 #, no-wrap
920 msgid "B<EINVAL>"
921 msgstr "B<EINVAL>"
922
923 #. type: Plain text
924 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
925 #: opensuse-tumbleweed
926 msgid ""
927 "A parameter has been specified (hash function, pad byte, etc.) that is "
928 "incompatible with the current file specification or which is not meaningful "
929 "for the function (for example, use of the cursor without prior "
930 "initialization) or there is a mismatch between the version number of file "
931 "and the software."
932 msgstr ""
933 "Указанный параметр (функция хэширования, байт заполнения и т. д.) не "
934 "совместим с текущими установками файла, не имеет смысла для данной функции "
935 "(например, использование курсора без его предварительной инициализации), или "
936 "имеется несоответствие версии файла и программного обеспечения."
937
938 #. type: Plain text
939 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
940 #: opensuse-tumbleweed
941 msgid ""
942 "The I<close> routines may fail and set I<errno> for any of the errors "
943 "specified for the library routines B<close>(2), B<read>(2), B<write>(2), "
944 "B<free>(3), or B<fsync>(2)."
945 msgstr ""
946 "Функция I<close> может завершиться с ошибкой и присвоить переменной I<errno> "
947 "любое значение из определённых в библиотечных функциях B<close>(2), "
948 "B<read>(2), B<write>(2), B<free>(3) или B<fsync>(2)."
949
950 #. type: Plain text
951 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
952 #: opensuse-tumbleweed
953 #, fuzzy
954 #| msgid ""
955 #| "The I<del>, I<get>, I<put>, and I<seq> routines may fail and set I<errno> "
956 #| "for any of the errors specified for the library routines B<read>(2), "
957 #| "B<write>(2), B<free>(3) or B<malloc>(3)."
958 msgid ""
959 "The I<del>, I<get>, I<put>, and I<seq> routines may fail and set I<errno> "
960 "for any of the errors specified for the library routines B<read>(2), "
961 "B<write>(2), B<free>(3), or B<malloc>(3)."
962 msgstr ""
963 "Функции I<del>, I<get>, I<put> и I<seq> могут некорректно завершаться с "
964 "ошибкой и присвоить переменной I<errno> любое значение из определённых в "
965 "библиотечных функциях B<read>(2), B<write>(2), B<free>(3) или B<malloc>(3)."
966
967 #. type: Plain text
968 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
969 #: opensuse-tumbleweed
970 msgid ""
971 "The I<fd> routines will fail and set I<errno> to B<ENOENT> for in memory "
972 "databases."
973 msgstr ""
974 "Функция I<fd> может завершиться с ошибкой и присвоить переменной I<errno> "
975 "значение B<ENOENT> (для баз данных, находящихся в памяти)."
976
977 #. type: Plain text
978 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
979 #: opensuse-tumbleweed
980 msgid ""
981 "The I<sync> routines may fail and set I<errno> for any of the errors "
982 "specified for the library routine B<fsync>(2)."
983 msgstr ""
984 "Функции I<sync> могут завершиться с ошибкой и присвоить I<errno> любое "
985 "значение из определённых для библиотеки функций B<fsync>(2)."
986
987 #. type: SH
988 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
989 #: opensuse-tumbleweed
990 #, no-wrap
991 msgid "BUGS"
992 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
993
994 #. type: Plain text
995 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
996 #: opensuse-tumbleweed
997 msgid ""
998 "The typedef I<DBT> is a mnemonic for \"data base thang\", and was used "
999 "because no one could think of a reasonable name that wasn't already used."
1000 msgstr ""
1001 "Название типа B<DBT> является сокращением от «data base thang» и "
1002 "используется в настоящее время, поскольку никто ещё не придумал подходящего "
1003 "для него имени, которое ранее нигде не применялось."
1004
1005 #. type: Plain text
1006 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
1007 #: opensuse-tumbleweed
1008 msgid ""
1009 "The file descriptor interface is a kludge and will be deleted in a future "
1010 "version of the interface."
1011 msgstr ""
1012 "Доступ через дескриптор файла устарел и будет удалён в будущей версии "
1013 "интерфейса."
1014
1015 #. type: Plain text
1016 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
1017 #: opensuse-tumbleweed
1018 msgid ""
1019 "None of the access methods provide any form of concurrent access, locking, "
1020 "or transactions."
1021 msgstr ""
1022 "Ни один из методов доступа не предоставляет пользователю каких-либо форм "
1023 "одновременного доступа, блокировок или транкзаций."
1024
1025 #. type: SH
1026 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
1027 #: opensuse-tumbleweed
1028 #, no-wrap
1029 msgid "SEE ALSO"
1030 msgstr "СМОТРИТЕ ТАКЖЕ"
1031
1032 #. type: Plain text
1033 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
1034 #: opensuse-tumbleweed
1035 msgid "B<btree>(3), B<hash>(3), B<mpool>(3), B<recno>(3)"
1036 msgstr "B<btree>(3), B<hash>(3), B<mpool>(3), B<recno>(3)"
1037
1038 #. type: Plain text
1039 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
1040 #: opensuse-tumbleweed
1041 msgid ""
1042 "I<LIBTP: Portable, Modular Transactions for UNIX>, Margo Seltzer, Michael "
1043 "Olson, USENIX proceedings, Winter 1992."
1044 msgstr ""
1045 "I<LIBTP: Portable, Modular Transactions for UNIX>, Margo Seltzer, Michael "
1046 "Olson, USENIX proceedings, Winter 1992."
1047
1048 #. type: TH
1049 #: debian-trixie
1050 #, no-wrap
1051 msgid "2024-05-02"
1052 msgstr "2 мая 2024 г."
1053
1054 #. type: TH
1055 #: debian-trixie
1056 #, no-wrap
1057 msgid "Linux man-pages 6.9.1"
1058 msgstr "Страницы руководства Linux 6.9.1"
1059
1060 #. type: Plain text
1061 #: debian-trixie
1062 msgid "Standard C library (I<libc>, I<-lc>)"
1063 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
1064
1065 #. type: Plain text
1066 #: debian-trixie
1067 #, no-wrap
1068 msgid ""
1069 "B<DB *dbopen(const char *>I<file>B<, int >I<flags>B<, int >I<mode>B<, DBTYPE >I<type>B<,>\n"
1070 "B< const void *>I<openinfo>B<);>\n"
1071 msgstr ""
1072 "B<DB *dbopen(const char *>I<file>B<, int >I<flags>B<, int >I<mode>B<, DBTYPE >I<type>B<,>\n"
1073 "B< const void *>I<openinfo>B<);>\n"
1074
1075 #. type: Plain text
1076 #: debian-trixie
1077 msgid ""
1078 "B<dbopen>() opens I<file> for reading and/or writing. Files never intended "
1079 "to be preserved on disk may be created by setting the I<file> argument to "
1080 "NULL."
1081 msgstr ""
1082 "B<dbopen>() открывает I<file> для чтения и/или записи. Файлы, не "
1083 "предназначенные для хранения на диске, могут быть созданы заданием параметру "
1084 "I<file> значения NULL."
1085
1086 #. type: Plain text
1087 #: debian-trixie
1088 msgid ""
1089 "A pointer to a routine which returns a file descriptor representative of the "
1090 "underlying database. A file descriptor referencing the same file will be "
1091 "returned to all processes which call B<dbopen>() with the same I<file> "
1092 "name. This file descriptor may be safely used as an argument to the "
1093 "B<fcntl>(2) and B<flock>(2) locking functions. The file descriptor is not "
1094 "necessarily associated with any of the underlying files used by the access "
1095 "method. No file descriptor is available for in memory databases. I<fd> "
1096 "routines return -1 on error (setting I<errno>), and the file descriptor on "
1097 "success."
1098 msgstr ""
1099 "Указатель на функцию, которая возвращает дескриптор файла, представляющий "
1100 "используемую базу данных. Дескриптор файла, ссылающийся на тот же файл, "
1101 "будет возвращаться всем процессам, которые вызывают B<dbopen>() с этим "
1102 "именем файла I<file>. Этот дескриптор файла может быть использован как "
1103 "аргумент для блокирующих функций B<fcntl>(2) и B<flock>(2). Файловый "
1104 "дескриптор необязательно связывать с какими-либо из файлов, лежащих в основе "
1105 "используемого метода доступа. Для баз данных в памяти файловые дескрипторы "
1106 "недоступны. Функция I<fd> возвращает -1 при ошибке (меняет при этом, "
1107 "соответственно, значение переменной I<errno>) или дескриптор файла при "
1108 "успешном выполнении."
1109
1110 #. type: TH
1111 #: mageia-cauldron
1112 #, no-wrap
1113 msgid "Linux man-pages 6.17"
1114 msgstr "Страницы руководства Linux 6.17"
1115
1116 #. type: TH
1117 #: opensuse-leap-16-1 opensuse-tumbleweed
1118 #, no-wrap
1119 msgid "Linux man-pages (unreleased)"
1120 msgstr "Страницы руководства Linux (не выпущены)"