Debian Codegraph @

po/pt_BR/man3/dbopen.3.po

raw
1 # Brazilian Portuguese translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Rubens de Jesus Nogueira <[email protected]>, 2000.
5 # André Luiz Fassone <[email protected]>, 2000.
6 # Rafael Fontenelle <[email protected]>, 2025-2026.
7 #
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n\n"
11 "POT-Creation-Date: 2026-06-05 06:21+0200\n"
12 "PO-Revision-Date: 2026-03-25 13:34-0300\n"
13 "Last-Translator: Rafael Fontenelle <[email protected]>\n"
14 "Language-Team: Brazilian Portuguese <debian-l10n-"
15 "[email protected]>\n"
16 "Language: pt_BR\n"
17 "MIME-Version: 1.0\n"
18 "Content-Type: text/plain; charset=UTF-8\n"
19 "Content-Transfer-Encoding: 8bit\n"
20 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
21 "X-Generator: Gtranslator 50.0\n"
22
23 #. type: TH
24 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
25 #: opensuse-tumbleweed
26 #, no-wrap
27 msgid "dbopen"
28 msgstr "dbopen"
29
30 #. type: TH
31 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
32 #: opensuse-tumbleweed
33 #, no-wrap
34 msgid "2025-05-17"
35 msgstr "17 maio 2025"
36
37 #. type: TH
38 #: archlinux debian-unstable
39 #, fuzzy, no-wrap
40 #| msgid "Linux man-pages 6.17"
41 msgid "Linux man-pages 6.18"
42 msgstr "Linux man-pages 6.17"
43
44 #. type: SH
45 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
46 #: opensuse-tumbleweed
47 #, no-wrap
48 msgid "NAME"
49 msgstr "NOME"
50
51 #. type: Plain text
52 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
53 #: opensuse-tumbleweed
54 msgid "dbopen - database access methods"
55 msgstr "dbopen - métodos de acesso a banco de dados"
56
57 #. type: SH
58 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
59 #: opensuse-tumbleweed
60 #, no-wrap
61 msgid "LIBRARY"
62 msgstr "BIBLIOTECA"
63
64 #. type: Plain text
65 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
66 #: opensuse-tumbleweed
67 msgid "Standard C library (I<libc>,\\ I<-lc>)"
68 msgstr "Biblioteca C Padrão (I<libc>,\\ I<-lc>)"
69
70 #. type: SH
71 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
72 #: opensuse-tumbleweed
73 #, no-wrap
74 msgid "SYNOPSIS"
75 msgstr "SINOPSE"
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
79 #: opensuse-tumbleweed
80 #, no-wrap
81 msgid ""
82 "B<#include E<lt>sys/types.hE<gt>>\n"
83 "B<#include E<lt>limits.hE<gt>>\n"
84 "B<#include E<lt>db.hE<gt>>\n"
85 "B<#include E<lt>fcntl.hE<gt>>\n"
86 msgstr ""
87 "B<#include E<lt>sys/types.hE<gt>>\n"
88 "B<#include E<lt>limits.hE<gt>>\n"
89 "B<#include E<lt>db.hE<gt>>\n"
90 "B<#include E<lt>fcntl.hE<gt>>\n"
91
92 #. type: Plain text
93 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
94 #: opensuse-tumbleweed
95 #, no-wrap
96 msgid ""
97 "B<DB *dbopen(const char *>I<path>B<, int >I<flags>B<, int >I<mode>B<, DBTYPE >I<type>B<,>\n"
98 "B< const void *>I<openinfo>B<);>\n"
99 msgstr ""
100 "B<DB *dbopen(const char *>I<caminho>B<, int >I<sinalizadore>B<, int >I<modo>B<, DBTYPE >I<tipo>B<,>\n"
101 "B< const void *>I<openinfo>B<);>\n"
102
103 #. type: SH
104 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
105 #: opensuse-tumbleweed
106 #, no-wrap
107 msgid "DESCRIPTION"
108 msgstr "DESCRIÇÃO"
109
110 #. type: Plain text
111 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
112 #: opensuse-tumbleweed
113 msgid ""
114 "I<Note well>: This page documents interfaces provided up until glibc 2.1. "
115 "Since glibc 2.2, glibc no longer provides these interfaces. Probably, you "
116 "are looking for the APIs provided by the I<libdb> library instead."
117 msgstr ""
118 "I<Observe bem>: Esta página documenta interfaces fornecidas até o glibc 2.1. "
119 "Desde o glibc 2.2, o glibc não fornece mais essas interfaces. Provavelmente, "
120 "você está procurando as APIs fornecidas pela biblioteca I<libdb>."
121
122 #. type: Plain text
123 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
124 #: opensuse-tumbleweed
125 msgid ""
126 "B<dbopen>() is the library interface to database files. The supported file "
127 "formats are btree, hashed, and UNIX file oriented. The btree format is a "
128 "representation of a sorted, balanced tree structure. The hashed format is "
129 "an extensible, dynamic hashing scheme. The flat-file format is a byte "
130 "stream file with fixed or variable length records. The formats and file-"
131 "format-specific information are described in detail in their respective "
132 "manual pages B<btree>(3), B<hash>(3), and B<recno>(3)."
133 msgstr ""
134 "I<dbopen>() é a interface de biblioteca para arquivos de banco de dados. Os "
135 "formatos de arquivos suportados são btree, esmiuçados e orientados a "
136 "arquivos UNIX. O formato btree é uma representação de uma estrutura de "
137 "árvore balanceada e ordenada. O formato 'hash' é um esquema de esmiuçamento "
138 "dinâmico e extensível. O formato 'texto plano' é um arquivo de sequência de "
139 "bytes com registros de comprimento fixo ou variável. Os formatos e as "
140 "informações específicas de formato são descritas em detalhes em suas "
141 "respectivas páginas de manual B<btree>(3), B<hash>(3) e B<recno>(3)."
142
143 #. type: Plain text
144 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
145 #: opensuse-tumbleweed
146 msgid ""
147 "B<dbopen>() opens I<path> for reading and/or writing. Files never intended "
148 "to be preserved on disk may be created by setting the I<path> argument to "
149 "NULL."
150 msgstr ""
151 "B<dbopen>() abre o I<caminho> para leitura e/ou escrita. Arquivos que nunca "
152 "têm a pretensão de ser preservados em disco podem ser criados pela "
153 "configuração do parâmetro do arquivo para NULO."
154
155 #. Three additional options may be specified by ORing
156 #. them into the
157 #. .I flags
158 #. argument.
159 #. .TP
160 #. DB_LOCK
161 #. Do the necessary locking in the database to support concurrent access.
162 #. If concurrent access isn't needed or the database is read-only this
163 #. flag should not be set, as it tends to have an associated performance
164 #. penalty.
165 #. .TP
166 #. DB_SHMEM
167 #. Place the underlying memory pool used by the database in shared
168 #. memory.
169 #. Necessary for concurrent access.
170 #. .TP
171 #. DB_TXN
172 #. Support transactions in the database.
173 #. The DB_LOCK and DB_SHMEM flags must be set as well.
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
176 #: opensuse-tumbleweed
177 msgid ""
178 "The I<flags> and I<mode> arguments are as specified to the B<open>(2) "
179 "routine, however, only the B<O_CREAT>, B<O_EXCL>, B<O_EXLOCK>, "
180 "B<O_NONBLOCK>, B<O_RDONLY>, B<O_RDWR>, B<O_SHLOCK>, and B<O_TRUNC> flags are "
181 "meaningful. (Note, opening a database file B<O_WRONLY> is not possible.)"
182 msgstr ""
183 "As I<sinalizadores> e argumentos de I<modo> são como especificados para a "
184 "rotina I<open>(2), porém, somente os sinalizadores B<O_CREAT>, B<O_EXCL>, "
185 "B<O_EXLOCK>, B<O_NONBLOCK>, B<O_RDONLY>, B<O_RDWR>, B<O_SHLOCK> e B<O_TRUNC> "
186 "são significativas. (Observação: a abertura de um arquivo de banco de dados "
187 "B<O_WRONLY> não é possível.)"
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
191 #: opensuse-tumbleweed
192 msgid ""
193 "The I<type> argument is of type I<DBTYPE> (as defined in the "
194 "I<E<lt>db.hE<gt>> include file) and may be set to B<DB_BTREE>, B<DB_HASH>, "
195 "or B<DB_RECNO>."
196 msgstr ""
197 "O argumento I<tipo> é do tipo I<DBTYPE> (como definido no arquivo 'include' "
198 "I<E<lt>db.hE<gt>>) e pode ser setado para B<DB_BTREE>, B<DB_HASH> ou "
199 "B<DB_RECNO>."
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
203 #: opensuse-tumbleweed
204 msgid ""
205 "The I<openinfo> argument is a pointer to an access-method-specific structure "
206 "described in the access method's manual page. If I<openinfo> is NULL, each "
207 "access method will use defaults appropriate for the system and the access "
208 "method."
209 msgstr ""
210 "O argumento I<openinfo> é um ponteiro para uma estrutura de método de acesso "
211 "específica, descrita na página de manual do método de acesso. Se I<openinfo> "
212 "é NULO, cada método de acesso usará padrões adequados para o sistema e o "
213 "método de acesso."
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
217 #: opensuse-tumbleweed
218 msgid ""
219 "B<dbopen>() returns a pointer to a I<DB> structure on success and NULL on "
220 "error. The I<DB> structure is defined in the I<E<lt>db.hE<gt>> include "
221 "file, and contains at least the following fields:"
222 msgstr ""
223 "B<dbopen>() retorna um ponteiro para uma estrutura I<DB> se for bem-"
224 "sucedido, e NULO em caso de erro. A estrutura I<DB> é definida no arquivo "
225 "'include' I<E<lt>db.hE<gt>>, é contém pelo menos os seguintes campos:"
226
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
229 #: opensuse-tumbleweed
230 #, no-wrap
231 msgid ""
232 "typedef struct {\n"
233 " DBTYPE type;\n"
234 " int (*close)(const DB *db);\n"
235 " int (*del)(const DB *db, const DBT *key, unsigned int flags);\n"
236 " int (*fd)(const DB *db);\n"
237 " int (*get)(const DB *db, DBT *key, DBT *data,\n"
238 " unsigned int flags);\n"
239 " int (*put)(const DB *db, DBT *key, const DBT *data,\n"
240 " unsigned int flags);\n"
241 " int (*sync)(const DB *db, unsigned int flags);\n"
242 " int (*seq)(const DB *db, DBT *key, DBT *data,\n"
243 " unsigned int flags);\n"
244 "} DB;\n"
245 msgstr ""
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
260 #. type: Plain text
261 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
262 #: opensuse-tumbleweed
263 msgid ""
264 "These elements describe a database type and a set of functions performing "
265 "various actions. These functions take a pointer to a structure as returned "
266 "by B<dbopen>(), and sometimes one or more pointers to key/data structures "
267 "and a flag value."
268 msgstr ""
269 "Estes elementos descrevem um tipo de banco de dados e um conjunto de funções "
270 "realizando várias ações. Estas funções usam um ponteiro para uma estrutura "
271 "como retornado por B<dbopen>(), e às vezes um ou mais ponteiros para "
272 "estruturas chave/dados e um valor de sinalização."
273
274 #. type: TP
275 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
276 #: opensuse-tumbleweed
277 #, no-wrap
278 msgid "I<type>"
279 msgstr "I<type>"
280
281 #. type: Plain text
282 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
283 #: opensuse-tumbleweed
284 msgid "The type of the underlying access method (and file format)."
285 msgstr "O tipo de método-base de acesso (e formato de arquivo)."
286
287 #. type: TP
288 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
289 #: opensuse-tumbleweed
290 #, no-wrap
291 msgid "I<close>"
292 msgstr "I<close>"
293
294 #. type: Plain text
295 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
296 #: opensuse-tumbleweed
297 msgid ""
298 "A pointer to a routine to flush any cached information to disk, free any "
299 "allocated resources, and close the underlying file(s). Since key/data pairs "
300 "may be cached in memory, failing to sync the file with a I<close> or I<sync> "
301 "function may result in inconsistent or lost information. I<close> routines "
302 "return -1 on error (setting I<errno>) and 0 on success."
303 msgstr ""
304 "Um ponteiro para uma rotina que esvazia qualquer informação no cache de "
305 "disco, libera quaisquer recursos alocados, e fecha o(s) arquivo(s) de base. "
306 "Como os pares chave/dados podem ficar no cache de memória, uma falha em "
307 "sincronizar o arquivo com uma função I<close> ou I<sync> pode resultar em "
308 "inconsistência ou perda de informação. Rotinas I<close> retornam -1 em caso "
309 "de erro (configurando B<errno>), e 0 em caso de sucesso."
310
311 #. type: TP
312 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
313 #: opensuse-tumbleweed
314 #, no-wrap
315 msgid "I<del>"
316 msgstr "I<del>"
317
318 #. type: Plain text
319 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
320 #: opensuse-tumbleweed
321 msgid "A pointer to a routine to remove key/data pairs from the database."
322 msgstr ""
323 "Um ponteiro para uma rotina que remove pares chave/dados do banco de dados."
324
325 #. type: Plain text
326 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
327 #: opensuse-tumbleweed
328 msgid "The argument I<flag> may be set to the following value:"
329 msgstr "O argumento I<flag> pode ser definido para o seguinte valore:"
330
331 #. type: TP
332 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
333 #: opensuse-tumbleweed
334 #, no-wrap
335 msgid "B<R_CURSOR>"
336 msgstr "B<R_CURSOR>"
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
340 #: opensuse-tumbleweed
341 msgid ""
342 "Delete the record referenced by the cursor. The cursor must have previously "
343 "been initialized."
344 msgstr ""
345 "Apaga o registro referenciado pelo cursor. O cursor precisa ser inicializado "
346 "previamente."
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
350 #: opensuse-tumbleweed
351 msgid ""
352 "I<delete> routines return -1 on error (setting I<errno>), 0 on success, and "
353 "1 if the specified I<key> was not in the file."
354 msgstr ""
355 "Rotinas I<delete> retornam -1 em caso de erro (configurando B<errno>), 0 em "
356 "caso de sucesso, e 1 se a I<chave> especificada não estiver no arquivo."
357
358 #. type: TP
359 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
360 #: opensuse-tumbleweed
361 #, no-wrap
362 msgid "I<fd>"
363 msgstr "I<fd>"
364
365 #. type: Plain text
366 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
367 #: opensuse-tumbleweed
368 msgid ""
369 "A pointer to a routine which returns a file descriptor representative of the "
370 "underlying database. A file descriptor referencing the same file will be "
371 "returned to all processes which call B<dbopen>() with the same I<path> "
372 "name. This file descriptor may be safely used as an argument to the "
373 "B<fcntl>(2) and B<flock>(2) locking functions. The file descriptor is not "
374 "necessarily associated with any of the underlying files used by the access "
375 "method. No file descriptor is available for in memory databases. I<fd> "
376 "routines return -1 on error (setting I<errno>), and the file descriptor on "
377 "success."
378 msgstr ""
379 "Um ponteiro para uma rotina que retorna um descritor de arquivo "
380 "representativo do banco de dados de base. Um descritor de arquivo que "
381 "referencia o mesmo arquivo será retornado para todos os processos que chamam "
382 "B<dbopen>() com o mesmo nome de I<caminho>. Este descritor de arquivo pode "
383 "ser usado com segurança como um argumento para as funções de travamento "
384 "B<fcntl>(2) e B<flock>(2). O descritor de arquivo não é associado "
385 "necessariamente com qualquer um dos arquivos de base usados pelo método de "
386 "acesso. Nenhum descritor de arquivo está disponível em banco de dados de "
387 "memória. Rotinas I<fd> retornam -1 em caso de erro (configurando B<errno>), "
388 "e o descritor de arquivo em caso de sucesso."
389
390 #. type: TP
391 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
392 #: opensuse-tumbleweed
393 #, no-wrap
394 msgid "I<get>"
395 msgstr "I<get>"
396
397 #. type: Plain text
398 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
399 #: opensuse-tumbleweed
400 msgid ""
401 "A pointer to a routine which is the interface for keyed retrieval from the "
402 "database. The address and length of the data associated with the specified "
403 "I<key> are returned in the structure referenced by I<data>. I<get> routines "
404 "return -1 on error (setting I<errno>), 0 on success, and 1 if the I<key> was "
405 "not in the file."
406 msgstr ""
407 "Um ponteiro para uma rotina que é a interface para buscas chaveadas no banco "
408 "de dados. O endereço e o comprimento dos dados associados com a I<chave> "
409 "específica na estrutura referenciada pelos I<dados>. Rotinas I<get> retornam "
410 "-1 em caso de erro (configurando B<errno>), 0 em caso de sucesso, e 1 se a "
411 "I<chave> não estava no arquivo."
412
413 #. type: TP
414 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
415 #: opensuse-tumbleweed
416 #, no-wrap
417 msgid "I<put>"
418 msgstr "I<put>"
419
420 #. type: Plain text
421 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
422 #: opensuse-tumbleweed
423 msgid "A pointer to a routine to store key/data pairs in the database."
424 msgstr ""
425 "Um ponteiro para uma rotina que armazena pares chave/dados no banco de dados."
426
427 #. type: Plain text
428 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
429 #: opensuse-tumbleweed
430 msgid "The argument I<flag> may be set to one of the following values:"
431 msgstr "O argumento I<flag> pode ser definido para um dos seguintes valores:"
432
433 #. type: Plain text
434 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
435 #: opensuse-tumbleweed
436 msgid ""
437 "Replace the key/data pair referenced by the cursor. The cursor must have "
438 "previously been initialized."
439 msgstr ""
440 "Substitui os pares chave/dados referenciados pelo cursor. O cursor deve ser "
441 "inicializado previamente."
442
443 #. type: TP
444 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
445 #: opensuse-tumbleweed
446 #, no-wrap
447 msgid "B<R_IAFTER>"
448 msgstr "B<R_IAFTER>"
449
450 #. type: Plain text
451 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
452 #: opensuse-tumbleweed
453 msgid ""
454 "Append the data immediately after the data referenced by I<key>, creating a "
455 "new key/data pair. The record number of the appended key/data pair is "
456 "returned in the I<key> structure. (Applicable only to the B<DB_RECNO> "
457 "access method.)"
458 msgstr ""
459 "Acrescenta o dado imediatamente após o dado referenciado pela I<chave>, "
460 "criando um novo par chave/dado. O número de registro do par chave/dado "
461 "acrescentado é retornado na estrutura I<chave>. (Aplicável somente para o "
462 "método de acesso B<DB_RECNO>.)"
463
464 #. type: TP
465 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
466 #: opensuse-tumbleweed
467 #, no-wrap
468 msgid "B<R_IBEFORE>"
469 msgstr "B<R_IBEFORE>"
470
471 #. type: Plain text
472 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
473 #: opensuse-tumbleweed
474 msgid ""
475 "Insert the data immediately before the data referenced by I<key>, creating a "
476 "new key/data pair. The record number of the inserted key/data pair is "
477 "returned in the I<key> structure. (Applicable only to the B<DB_RECNO> "
478 "access method.)"
479 msgstr ""
480 "Insere o dado imediatamente antes do dado referenciado pela I<chave>, "
481 "criando um novo par chave/dado. O número de registro do par chave/dado é "
482 "retornado na estrutura I<chave>. (Aplicável somente para o método de acesso "
483 "B<DB_RECNO>.)"
484
485 #. type: TP
486 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
487 #: opensuse-tumbleweed
488 #, no-wrap
489 msgid "B<R_NOOVERWRITE>"
490 msgstr "B<R_NOOVERWRITE>"
491
492 #. type: Plain text
493 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
494 #: opensuse-tumbleweed
495 msgid "Enter the new key/data pair only if the key does not previously exist."
496 msgstr ""
497 "Entra o novo par chave/dado somente se a chave não existe anteriormente."
498
499 #. type: TP
500 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
501 #: opensuse-tumbleweed
502 #, no-wrap
503 msgid "B<R_SETCURSOR>"
504 msgstr "B<R_SETCURSOR>"
505
506 #. type: Plain text
507 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
508 #: opensuse-tumbleweed
509 msgid ""
510 "Store the key/data pair, setting or initializing the position of the cursor "
511 "to reference it. (Applicable only to the B<DB_BTREE> and B<DB_RECNO> access "
512 "methods.)"
513 msgstr ""
514 "Armazena o par chave/dado, configurando ou inicializando a posição do cursor "
515 "para referenciá-lo. (Aplicável somente para os método de acesso B<DB_BTREE> "
516 "e B<DB_RECNO>.)"
517
518 #. type: Plain text
519 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
520 #: opensuse-tumbleweed
521 msgid ""
522 "B<R_SETCURSOR> is available only for the B<DB_BTREE> and B<DB_RECNO> access "
523 "methods because it implies that the keys have an inherent order which does "
524 "not change."
525 msgstr ""
526 "B<R_SETCURSOR> está disponível somente para os métodos de acesso B<DB_BTREE> "
527 "e B<DB_RECNO>, porque ele implica que as chaves têm uma ordem inerente que "
528 "não se altera."
529
530 #. type: Plain text
531 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
532 #: opensuse-tumbleweed
533 msgid ""
534 "B<R_IAFTER> and B<R_IBEFORE> are available only for the B<DB_RECNO> access "
535 "method because they each imply that the access method is able to create new "
536 "keys. This is true only if the keys are ordered and independent, record "
537 "numbers for example."
538 msgstr ""
539 "B<R_IAFTER> e B<R_IBEFORE> estão disponíveis somente para o método de acesso "
540 "B<DB_RECNO> porque elas implicam que o método de acesso é capaz de criar "
541 "novas chaves. Isto é verdade apenas se as chaves são ordenadas e "
542 "independentes, números de registro por exemplo."
543
544 #. type: Plain text
545 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
546 #: opensuse-tumbleweed
547 msgid ""
548 "The default behavior of the I<put> routines is to enter the new key/data "
549 "pair, replacing any previously existing key."
550 msgstr ""
551 "O comportamento padrão das rotinas I<put> é entrar o novo par chave/dado, "
552 "substituindo qualquer chave existente anteriormente."
553
554 #. type: Plain text
555 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
556 #: opensuse-tumbleweed
557 msgid ""
558 "I<put> routines return -1 on error (setting I<errno>), 0 on success, and 1 "
559 "if the B<R_NOOVERWRITE> I<flag> was set and the key already exists in the "
560 "file."
561 msgstr ""
562 "Rotinas I<put> retornam -1 em caso de erro (configurando B<errno>), 0 em "
563 "caso de sucesso, e 1 se a I<flag> B<R_NOOVERWRITE> foi setada e a chave já "
564 "existe no arquivo."
565
566 #. type: TP
567 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
568 #: opensuse-tumbleweed
569 #, no-wrap
570 msgid "I<seq>"
571 msgstr "I<seq>"
572
573 #. type: Plain text
574 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
575 #: opensuse-tumbleweed
576 msgid ""
577 "A pointer to a routine which is the interface for sequential retrieval from "
578 "the database. The address and length of the key are returned in the "
579 "structure referenced by I<key>, and the address and length of the data are "
580 "returned in the structure referenced by I<data>."
581 msgstr ""
582 "Um ponteiro para uma rotina que é a interface para uma busca sequencial no "
583 "banco de dados. O endereço e o comprimento da chave são retornados na "
584 "estrutura referenciada pela I<chave>, e o endereço e o comprimento dos dados "
585 "são retornados na estrutura referenciada pelo I<dado>."
586
587 #. type: Plain text
588 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
589 #: opensuse-tumbleweed
590 msgid ""
591 "Sequential key/data pair retrieval may begin at any time, and the position "
592 "of the \"cursor\" is not affected by calls to the I<del>, I<get>, I<put>, or "
593 "I<sync> routines. Modifications to the database during a sequential scan "
594 "will be reflected in the scan, that is, records inserted behind the cursor "
595 "will not be returned while records inserted in front of the cursor will be "
596 "returned."
597 msgstr ""
598 "Pares chave/dado sequenciais recuperados podem começar a qualquer tempo, e a "
599 "posição do 'cursor' não é afetada pela chamada das rotinas I<del>, I<get>, "
600 "I<put>, ou I<sync>. As modificações no banco de dados durante uma busca se "
601 "refletirão na busca, isto é, os registros inseridos atrás do cursor não "
602 "serão retornados, enquanto que os registros inseridos na frente do cursor "
603 "serão."
604
605 #. type: Plain text
606 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
607 #: opensuse-tumbleweed
608 msgid "The flag value B<must> be set to one of the following values:"
609 msgstr "O valor da flag B<precisa> ser setado para um dos seguintes valores:"
610
611 #. type: Plain text
612 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
613 #: opensuse-tumbleweed
614 msgid ""
615 "The data associated with the specified key is returned. This differs from "
616 "the I<get> routines in that it sets or initializes the cursor to the "
617 "location of the key as well. (Note, for the B<DB_BTREE> access method, the "
618 "returned key is not necessarily an exact match for the specified key. The "
619 "returned key is the smallest key greater than or equal to the specified key, "
620 "permitting partial key matches and range searches.)"
621 msgstr ""
622 "São retornados os dados asscociados com a chave especificada. Isto difere "
623 "das rotinas I<get> pelo fato de ela setar ou inicializar o cursor para o "
624 "local da chave também. (Note, para o método de acesso B<DB_BTREE>, a chave "
625 "retornada não é necessariamente uma combinação exata para a chave "
626 "especificada. A chave retornada é a menor chave que seja maior ou igual à "
627 "chave especificada, permitindo buscas com combinações de chave e buscas de "
628 "chave parciais.)"
629
630 #. type: TP
631 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
632 #: opensuse-tumbleweed
633 #, no-wrap
634 msgid "B<R_FIRST>"
635 msgstr "B<R_FIRST>"
636
637 #. type: Plain text
638 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
639 #: opensuse-tumbleweed
640 msgid ""
641 "The first key/data pair of the database is returned, and the cursor is set "
642 "or initialized to reference it."
643 msgstr ""
644 "É retornado o primeiro par chave/dado do banco de dados, e o cursor é setado "
645 "ou inicializado para referenciá-lo."
646
647 #. type: TP
648 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
649 #: opensuse-tumbleweed
650 #, no-wrap
651 msgid "B<R_LAST>"
652 msgstr "B<R_LAST>"
653
654 #. type: Plain text
655 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
656 #: opensuse-tumbleweed
657 msgid ""
658 "The last key/data pair of the database is returned, and the cursor is set or "
659 "initialized to reference it. (Applicable only to the B<DB_BTREE> and "
660 "B<DB_RECNO> access methods.)"
661 msgstr ""
662 "É retornado o último par chave/dado do banco de dados, e o cursor é setado "
663 "ou inicializado para referenciá-lo. (Aplicável somente para os métodos de "
664 "acesso B<DB_BTREE> e B<DB_RECNO>.)"
665
666 #. type: TP
667 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
668 #: opensuse-tumbleweed
669 #, no-wrap
670 msgid "B<R_NEXT>"
671 msgstr "B<R_NEXT>"
672
673 #. type: Plain text
674 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
675 #: opensuse-tumbleweed
676 msgid ""
677 "Retrieve the key/data pair immediately after the cursor. If the cursor is "
678 "not yet set, this is the same as the B<R_FIRST> flag."
679 msgstr ""
680 "Recupera o par chave/dado imediatamente após o cursor. Se o cursor ainda não "
681 "estiver setado, este é o mesmo que o flag B<R_FIRST>."
682
683 #. type: TP
684 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
685 #: opensuse-tumbleweed
686 #, no-wrap
687 msgid "B<R_PREV>"
688 msgstr "B<R_PREV>"
689
690 #. type: Plain text
691 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
692 #: opensuse-tumbleweed
693 msgid ""
694 "Retrieve the key/data pair immediately before the cursor. If the cursor is "
695 "not yet set, this is the same as the B<R_LAST> flag. (Applicable only to "
696 "the B<DB_BTREE> and B<DB_RECNO> access methods.)"
697 msgstr ""
698 "Recupera o par chave/dado imediatamente antes do cursor. Se o cursor ainda "
699 "não estiver setado, este é o mesmo que o flag B<R_LAST>. (Aplicável somente "
700 "para os métodos de acesso B<DB_BTREE> e B<DB_RECNO>.)"
701
702 #. type: Plain text
703 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
704 #: opensuse-tumbleweed
705 msgid ""
706 "B<R_LAST> and B<R_PREV> are available only for the B<DB_BTREE> and "
707 "B<DB_RECNO> access methods because they each imply that the keys have an "
708 "inherent order which does not change."
709 msgstr ""
710 "B<R_LAST> e B<R_PREV> estão disponíveis somente para os métodos de acesso "
711 "B<DB_BTREE> e B<DB_RECNO>, porque eles implicam que as chaves têm uma ordem "
712 "inerente que não se altera."
713
714 #. type: Plain text
715 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
716 #: opensuse-tumbleweed
717 msgid ""
718 "I<seq> routines return -1 on error (setting I<errno>), 0 on success and 1 if "
719 "there are no key/data pairs less than or greater than the specified or "
720 "current key. If the B<DB_RECNO> access method is being used, and if the "
721 "database file is a character special file and no complete key/data pairs are "
722 "currently available, the I<seq> routines return 2."
723 msgstr ""
724 "Rotinas I<seq> retornam -1 em caso de erro (configurando B<errno>), 0 em "
725 "caso de sucesso e 1 se não há pares chave/dado menores ou maiores que a "
726 "chave especificada ou atual. Se o método de acesso B<DB_RECNO> está sendo "
727 "usado, e se o arquivo de banco de dados é um arquivo de caracteres "
728 "especiais, e nenhum par chave/dado completo está disponível no momento, as "
729 "rotinas I<seq> retornam 2."
730
731 #. type: TP
732 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
733 #: opensuse-tumbleweed
734 #, no-wrap
735 msgid "I<sync>"
736 msgstr "I<sync>"
737
738 #. type: Plain text
739 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
740 #: opensuse-tumbleweed
741 msgid ""
742 "A pointer to a routine to flush any cached information to disk. If the "
743 "database is in memory only, the I<sync> routine has no effect and will "
744 "always succeed."
745 msgstr ""
746 "Um ponteiro para uma rotina que esvazia qualquer informação armazenada em "
747 "cache no disco. Se o banco de dados está somente na memória, a rotina "
748 "I<sync> não tem efeito e sempre será bem-sucedida."
749
750 #. type: Plain text
751 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
752 #: opensuse-tumbleweed
753 msgid "The flag value may be set to the following value:"
754 msgstr "O valor da flag será setada para os seguintes valores:"
755
756 #. type: TP
757 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
758 #: opensuse-tumbleweed
759 #, no-wrap
760 msgid "B<R_RECNOSYNC>"
761 msgstr "B<R_RECNOSYNC>"
762
763 #. type: Plain text
764 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
765 #: opensuse-tumbleweed
766 msgid ""
767 "If the B<DB_RECNO> access method is being used, this flag causes the sync "
768 "routine to apply to the btree file which underlies the recno file, not the "
769 "recno file itself. (See the I<bfname> field of the B<recno>(3) manual page "
770 "for more information.)"
771 msgstr ""
772 "Se o método de acesso B<DB_RECNO> estiver sendo usado, esta flag faz com que "
773 "a rotina sync seja aplicada ao arquivo btree que é a base do arquivo recno, "
774 "e não ao próprio arquivo recno. (Veja o campo I<bfname> da página de manual "
775 "B<recno>(3) para mais informações.)"
776
777 #. type: Plain text
778 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
779 #: opensuse-tumbleweed
780 msgid ""
781 "I<sync> routines return -1 on error (setting I<errno>) and 0 on success."
782 msgstr ""
783 "Rotinas I<sync> retornam -1 em caso de erro (configurando B<errno>), e 0 em "
784 "caso de sucesso."
785
786 #. type: SS
787 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
788 #: opensuse-tumbleweed
789 #, no-wrap
790 msgid "Key/data pairs"
791 msgstr "Pares chave/dados"
792
793 #. type: Plain text
794 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
795 #: opensuse-tumbleweed
796 msgid ""
797 "Access to all file types is based on key/data pairs. Both keys and data are "
798 "represented by the following data structure:"
799 msgstr ""
800 "O acesso a todos os tipos de arquivos é baseado em pares chave/dado. Tanto a "
801 "chave quanto os dados são representados pela seguinte estrutura de dados:"
802
803 #. type: Plain text
804 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
805 #: opensuse-tumbleweed
806 #, no-wrap
807 msgid ""
808 "typedef struct {\n"
809 " void *data;\n"
810 " size_t size;\n"
811 "} DBT;\n"
812 msgstr ""
813 "typedef struct {\n"
814 " void *data;\n"
815 " size_t size;\n"
816 "} DBT;\n"
817
818 #. type: Plain text
819 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
820 #: opensuse-tumbleweed
821 msgid "The elements of the I<DBT> structure are defined as follows:"
822 msgstr "Os elementos da estrutura I<DBT> são definidos como segue:"
823
824 #. type: TP
825 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
826 #: opensuse-tumbleweed
827 #, no-wrap
828 msgid "I<data>"
829 msgstr "I<data>"
830
831 #. type: Plain text
832 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
833 #: opensuse-tumbleweed
834 msgid "A pointer to a byte string."
835 msgstr "Um ponteiro para uma sequência de bytes."
836
837 #. type: TP
838 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
839 #: opensuse-tumbleweed
840 #, no-wrap
841 msgid "I<size>"
842 msgstr "I<size>"
843
844 #. type: Plain text
845 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
846 #: opensuse-tumbleweed
847 msgid "The length of the byte string."
848 msgstr "O comprimento da sequência de bytes."
849
850 #. type: Plain text
851 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
852 #: opensuse-tumbleweed
853 msgid ""
854 "Key and data byte strings may reference strings of essentially unlimited "
855 "length although any two of them must fit into available memory at the same "
856 "time. It should be noted that the access methods provide no guarantees "
857 "about byte string alignment."
858 msgstr ""
859 "Sequências de bytes de chaves e dados podem referenciar comprimentos "
860 "essencialmente ilimitados, apesar de que quaisquer dois deles precisam caber "
861 "na memória disponível ao mesmo tempo. Deve-se notar que os métodos de acesso "
862 "não dão garantia de alinhamento das sequências de bytes."
863
864 #. type: SH
865 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
866 #: opensuse-tumbleweed
867 #, no-wrap
868 msgid "ERRORS"
869 msgstr "ERROS"
870
871 #. type: Plain text
872 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
873 #: opensuse-tumbleweed
874 msgid ""
875 "The B<dbopen>() routine may fail and set I<errno> for any of the errors "
876 "specified for the library routines B<open>(2) and B<malloc>(3) or the "
877 "following:"
878 msgstr ""
879 "A rotina B<dbopen>() pode falhar e setar I<errno> para qualquer um dos erros "
880 "especificados para as rotinas de biblioteca B<open>(2) e B<malloc>(3), ou o "
881 "seguinte:"
882
883 #. type: TP
884 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
885 #: opensuse-tumbleweed
886 #, no-wrap
887 msgid "B<EFTYPE>"
888 msgstr "B<EFTYPE>"
889
890 #. type: Plain text
891 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
892 #: opensuse-tumbleweed
893 msgid "A file is incorrectly formatted."
894 msgstr "Um arquivo foi formatado incorretamente."
895
896 #. type: TP
897 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
898 #: opensuse-tumbleweed
899 #, no-wrap
900 msgid "B<EINVAL>"
901 msgstr "B<EINVAL>"
902
903 #. type: Plain text
904 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
905 #: opensuse-tumbleweed
906 msgid ""
907 "A parameter has been specified (hash function, pad byte, etc.) that is "
908 "incompatible with the current file specification or which is not meaningful "
909 "for the function (for example, use of the cursor without prior "
910 "initialization) or there is a mismatch between the version number of file "
911 "and the software."
912 msgstr ""
913 "Foi especificado um parâmetro (função de esmiuçamento, byte de bloco, etc.) "
914 "que é incompatível com a especificação de arquivos corrente, ou que não é "
915 "significativo para a função (por exemplo, o uso do cursor sem inicialização "
916 "anterior), ou há incompatibilidade entre o número de versão do arquivo e o "
917 "software."
918
919 #. type: Plain text
920 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
921 #: opensuse-tumbleweed
922 msgid ""
923 "The I<close> routines may fail and set I<errno> for any of the errors "
924 "specified for the library routines B<close>(2), B<read>(2), B<write>(2), "
925 "B<free>(3), or B<fsync>(2)."
926 msgstr ""
927 "As rotinas I<close> podem falhar e setar I<errno> para qualquer um dos erros "
928 "especificados para as rotinas de biblioteca B<close>(2), B<read>(2), "
929 "B<write>(2), B<free>(3) ou B<fsync>(2)."
930
931 #. type: Plain text
932 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
933 #: opensuse-tumbleweed
934 msgid ""
935 "The I<del>, I<get>, I<put>, and I<seq> routines may fail and set I<errno> "
936 "for any of the errors specified for the library routines B<read>(2), "
937 "B<write>(2), B<free>(3), or B<malloc>(3)."
938 msgstr ""
939 "As rotinas I<del>, I<get>, I<put> e I<seq> podem falhar e setar I<errno> "
940 "para qualquer um dos erros especificados para as rotinas de biblioteca "
941 "B<read>(2), B<write>(2), B<free>(3) ou B<malloc>(3)."
942
943 #. type: Plain text
944 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
945 #: opensuse-tumbleweed
946 msgid ""
947 "The I<fd> routines will fail and set I<errno> to B<ENOENT> for in memory "
948 "databases."
949 msgstr ""
950 "As rotinas I<fd> falharão e setarão I<errno> para B<ENOENT> nos banco de "
951 "dados de memória."
952
953 #. type: Plain text
954 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
955 #: opensuse-tumbleweed
956 msgid ""
957 "The I<sync> routines may fail and set I<errno> for any of the errors "
958 "specified for the library routine B<fsync>(2)."
959 msgstr ""
960 "As rotinas I<sync> podem falhar e setar I<errno> para qualquer um dos erros "
961 "especificados para a rotina de biblioteca B<fsync>(2)."
962
963 #. type: SH
964 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
965 #: opensuse-tumbleweed
966 #, no-wrap
967 msgid "BUGS"
968 msgstr "BUGS"
969
970 #. type: Plain text
971 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
972 #: opensuse-tumbleweed
973 msgid ""
974 "The typedef I<DBT> is a mnemonic for \"data base thang\", and was used "
975 "because no one could think of a reasonable name that wasn't already used."
976 msgstr ""
977 "O tipo definido I<DBT> é um mnemônico para 'data base thing' (objeto de "
978 "banco de dados), e foi usado porque ninguém conseguiu pensar em um nome "
979 "razoável que ainda não estivesse em uso."
980
981 #. type: Plain text
982 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
983 #: opensuse-tumbleweed
984 msgid ""
985 "The file descriptor interface is a kludge and will be deleted in a future "
986 "version of the interface."
987 msgstr ""
988 "A interface de descritor de arquivo é um remendo e será eliminado em uma "
989 "versão futura da interface."
990
991 #. type: Plain text
992 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
993 #: opensuse-tumbleweed
994 msgid ""
995 "None of the access methods provide any form of concurrent access, locking, "
996 "or transactions."
997 msgstr ""
998 "Nenhum dos métodos de acessp provê qualquer forma de acesso concorrente, "
999 "travamento ou transações."
1000
1001 #. type: SH
1002 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
1003 #: opensuse-tumbleweed
1004 #, no-wrap
1005 msgid "SEE ALSO"
1006 msgstr "VEJA TAMBÉM"
1007
1008 #. type: Plain text
1009 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
1010 #: opensuse-tumbleweed
1011 msgid "B<btree>(3), B<hash>(3), B<mpool>(3), B<recno>(3)"
1012 msgstr "B<btree>(3), B<hash>(3), B<mpool>(3), B<recno>(3)"
1013
1014 #. type: Plain text
1015 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
1016 #: opensuse-tumbleweed
1017 msgid ""
1018 "I<LIBTP: Portable, Modular Transactions for UNIX>, Margo Seltzer, Michael "
1019 "Olson, USENIX proceedings, Winter 1992."
1020 msgstr ""
1021 "I<LIBTP: Portable, Modular Transactions for UNIX>, Margo Seltzer, Michael "
1022 "Olson, USENIX proceedings, Winter 1992."
1023
1024 #. type: TH
1025 #: debian-trixie
1026 #, no-wrap
1027 msgid "2024-05-02"
1028 msgstr "2 maio 2024"
1029
1030 #. type: TH
1031 #: debian-trixie
1032 #, no-wrap
1033 msgid "Linux man-pages 6.9.1"
1034 msgstr "Linux man-pages 6.9.1"
1035
1036 #. type: Plain text
1037 #: debian-trixie
1038 msgid "Standard C library (I<libc>, I<-lc>)"
1039 msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)"
1040
1041 #. type: Plain text
1042 #: debian-trixie
1043 #, no-wrap
1044 msgid ""
1045 "B<DB *dbopen(const char *>I<file>B<, int >I<flags>B<, int >I<mode>B<, DBTYPE >I<type>B<,>\n"
1046 "B< const void *>I<openinfo>B<);>\n"
1047 msgstr ""
1048 "B<DB *dbopen(const char *>I<arquivo>B<, int >I<sinalizadore>B<, int >I<mode>B<, DBTYPE >I<type>B<,>\n"
1049 "B< const void *>I<openinfo>B<);>\n"
1050
1051 #. type: Plain text
1052 #: debian-trixie
1053 msgid ""
1054 "B<dbopen>() opens I<file> for reading and/or writing. Files never intended "
1055 "to be preserved on disk may be created by setting the I<file> argument to "
1056 "NULL."
1057 msgstr ""
1058 "B<dbopen>() abre um arquivo, nomeado por I<file>, para leitura e/ou escrita. "
1059 "Arquivos que nunca têm a pretensão de ser preservados em disco podem ser "
1060 "criados pela configuração do parâmetro do arquivo para NULO."
1061
1062 #. type: Plain text
1063 #: debian-trixie
1064 msgid ""
1065 "A pointer to a routine which returns a file descriptor representative of the "
1066 "underlying database. A file descriptor referencing the same file will be "
1067 "returned to all processes which call B<dbopen>() with the same I<file> "
1068 "name. This file descriptor may be safely used as an argument to the "
1069 "B<fcntl>(2) and B<flock>(2) locking functions. The file descriptor is not "
1070 "necessarily associated with any of the underlying files used by the access "
1071 "method. No file descriptor is available for in memory databases. I<fd> "
1072 "routines return -1 on error (setting I<errno>), and the file descriptor on "
1073 "success."
1074 msgstr ""
1075 "Um ponteiro para uma rotina que retorna um descritor de arquivo "
1076 "representativo do banco de dados de base. Um descritor de arquivo que "
1077 "referencia o mesmo arquivo será retornado para todos os processos que chamam "
1078 "B<dbopen>() com o mesmo nome de I<arquivo>. Este descritor de arquivo pode "
1079 "ser usado com segurança como um argumento para as funções de travamento "
1080 "B<fcntl>(2) e B<flock>(2). O descritor de arquivo não é associado "
1081 "necessariamente com qualquer um dos arquivos de base usados pelo método de "
1082 "acesso. Nenhum descritor de arquivo está disponível em banco de dados de "
1083 "memória. Rotinas I<fd> retornam -1 em caso de erro (configurando B<errno>), "
1084 "e o descritor de arquivo em caso de sucesso."
1085
1086 #. type: TH
1087 #: mageia-cauldron
1088 #, no-wrap
1089 msgid "Linux man-pages 6.17"
1090 msgstr "Linux man-pages 6.17"
1091
1092 #. type: TH
1093 #: opensuse-leap-16-1 opensuse-tumbleweed
1094 #, no-wrap
1095 msgid "Linux man-pages (unreleased)"
1096 msgstr "Linux man-pages (não lançado)"