Debian Codegraph @

templates/man3/mpool.3.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:31+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
21 #: opensuse-tumbleweed
22 #, no-wrap
23 msgid "mpool"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2025-05-17"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
41 #: opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
48 #: opensuse-tumbleweed
49 msgid "mpool - shared memory buffer pool"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
54 #: opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
61 #: opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
67 #: opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
74 #: opensuse-tumbleweed
75 #, no-wrap
76 msgid ""
77 "B<#include E<lt>db.hE<gt>>\n"
78 "B<#include E<lt>mpool.hE<gt>>\n"
79 msgstr ""
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
83 #: opensuse-tumbleweed
84 #, no-wrap
85 msgid "B<MPOOL *mpool_open(DBT *>I<key>B<, int >I<fd>B<, pgno_t >I<pagesize>B<, pgno_t >I<maxcache>B<);>\n"
86 msgstr ""
87
88 #. type: Plain text
89 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
90 #: opensuse-tumbleweed
91 #, no-wrap
92 msgid ""
93 "B<void mpool_filter(MPOOL *>I<mp>B<,>\n"
94 "B< typeof(void (void *, pgno_t, void *)) *>I<pgin>B<,>\n"
95 "B< typeof(void (void *, pgno_t, void *)) *>I<pgout>B<,>\n"
96 "B< void *>I<pgcookie>B<);>\n"
97 msgstr ""
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
101 #: opensuse-tumbleweed
102 #, no-wrap
103 msgid ""
104 "B<void *mpool_new(MPOOL *>I<mp>B<, pgno_t *>I<pgnoaddr>B<);>\n"
105 "B<void *mpool_get(MPOOL *>I<mp>B<, pgno_t >I<pgno>B<, unsigned int >I<flags>B<);>\n"
106 "B<int mpool_put(MPOOL *>I<mp>B<, void *>I<pgaddr>B<, unsigned int >I<flags>B<);>\n"
107 msgstr ""
108
109 #. type: Plain text
110 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
111 #: opensuse-tumbleweed
112 #, no-wrap
113 msgid ""
114 "B<int mpool_sync(MPOOL *>I<mp>B<);>\n"
115 "B<int mpool_close(MPOOL *>I<mp>B<);>\n"
116 msgstr ""
117
118 #. type: SH
119 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
120 #: opensuse-tumbleweed
121 #, no-wrap
122 msgid "DESCRIPTION"
123 msgstr ""
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
127 #: opensuse-tumbleweed
128 msgid ""
129 "I<Note well>: This page documents interfaces provided up until glibc 2.1. "
130 "Since glibc 2.2, glibc no longer provides these interfaces. Probably, you "
131 "are looking for the APIs provided by the I<libdb> library instead."
132 msgstr ""
133
134 #. type: Plain text
135 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
136 #: opensuse-tumbleweed
137 msgid ""
138 "I<Mpool> is the library interface intended to provide page oriented buffer "
139 "management of files. The buffers may be shared between processes."
140 msgstr ""
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
144 #: opensuse-tumbleweed
145 msgid ""
146 "The function B<mpool_open>() initializes a memory pool. The I<key> "
147 "argument is the byte string used to negotiate between multiple processes "
148 "wishing to share buffers. If the file buffers are mapped in shared memory, "
149 "all processes using the same key will share the buffers. If I<key> is NULL, "
150 "the buffers are mapped into private memory. The I<fd> argument is a file "
151 "descriptor for the underlying file, which must be seekable. If I<key> is "
152 "non-NULL and matches a file already being mapped, the I<fd> argument is "
153 "ignored."
154 msgstr ""
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
158 #: opensuse-tumbleweed
159 msgid ""
160 "The I<pagesize> argument is the size, in bytes, of the pages into which the "
161 "file is broken up. The I<maxcache> argument is the maximum number of pages "
162 "from the underlying file to cache at any one time. This value is not "
163 "relative to the number of processes which share a file's buffers, but will "
164 "be the largest value specified by any of the processes sharing the file."
165 msgstr ""
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
169 #: opensuse-tumbleweed
170 msgid ""
171 "The B<mpool_filter>() function is intended to make transparent input and "
172 "output processing of the pages possible. If the I<pgin> function is "
173 "specified, it is called each time a buffer is read into the memory pool from "
174 "the backing file. If the I<pgout> function is specified, it is called each "
175 "time a buffer is written into the backing file. Both functions are called "
176 "with the I<pgcookie> pointer, the page number and a pointer to the page to "
177 "being read or written."
178 msgstr ""
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
182 #: opensuse-tumbleweed
183 msgid ""
184 "The function B<mpool_new>() takes an I<MPOOL> pointer and an address as "
185 "arguments. If a new page can be allocated, a pointer to the page is "
186 "returned and the page number is stored into the I<pgnoaddr> address. "
187 "Otherwise, NULL is returned and I<errno> is set."
188 msgstr ""
189
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
192 #: opensuse-tumbleweed
193 msgid ""
194 "The function B<mpool_get>() takes an I<MPOOL> pointer and a page number as "
195 "arguments. If the page exists, a pointer to the page is returned. "
196 "Otherwise, NULL is returned and I<errno> is set. The I<flags> argument is "
197 "not currently used."
198 msgstr ""
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
202 #: opensuse-tumbleweed
203 msgid ""
204 "The function B<mpool_put>() unpins the page referenced by I<pgaddr>. "
205 "I<pgaddr> must be an address previously returned by B<mpool_get>() or "
206 "B<mpool_new>(). The flag value is specified by ORing any of the following "
207 "values:"
208 msgstr ""
209
210 #. type: TP
211 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
212 #: opensuse-tumbleweed
213 #, no-wrap
214 msgid "B<MPOOL_DIRTY>"
215 msgstr ""
216
217 #. type: Plain text
218 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
219 #: opensuse-tumbleweed
220 msgid "The page has been modified and needs to be written to the backing file."
221 msgstr ""
222
223 #. type: Plain text
224 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
225 #: opensuse-tumbleweed
226 msgid "B<mpool_put>() returns 0 on success and -1 if an error occurs."
227 msgstr ""
228
229 #. type: Plain text
230 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
231 #: opensuse-tumbleweed
232 msgid ""
233 "The function B<mpool_sync>() writes all modified pages associated with the "
234 "I<MPOOL> pointer to the backing file. B<mpool_sync>() returns 0 on success "
235 "and -1 if an error occurs."
236 msgstr ""
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
240 #: opensuse-tumbleweed
241 msgid ""
242 "The B<mpool_close>() function free's up any allocated memory associated "
243 "with the memory pool cookie. Modified pages are B<not> written to the "
244 "backing file. B<mpool_close>() returns 0 on success and -1 if an error "
245 "occurs."
246 msgstr ""
247
248 #. type: SH
249 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
250 #: opensuse-tumbleweed
251 #, no-wrap
252 msgid "ERRORS"
253 msgstr ""
254
255 #. type: Plain text
256 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
257 #: opensuse-tumbleweed
258 msgid ""
259 "The B<mpool_open>() function may fail and set I<errno> for any of the "
260 "errors specified for the library routine B<malloc>(3)."
261 msgstr ""
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
265 #: opensuse-tumbleweed
266 msgid ""
267 "The B<mpool_get>() function may fail and set I<errno> for the following:"
268 msgstr ""
269
270 #. type: TP
271 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
272 #: opensuse-tumbleweed
273 #, no-wrap
274 msgid "B<EINVAL>"
275 msgstr ""
276
277 #. type: Plain text
278 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
279 #: opensuse-tumbleweed
280 msgid "The requested record doesn't exist."
281 msgstr ""
282
283 #. type: Plain text
284 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
285 #: opensuse-tumbleweed
286 msgid ""
287 "The B<mpool_new>() and B<mpool_get>() functions may fail and set I<errno> "
288 "for any of the errors specified for the library routines B<read>(2), "
289 "B<write>(2), and B<malloc>(3)."
290 msgstr ""
291
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
294 #: opensuse-tumbleweed
295 msgid ""
296 "The B<mpool_sync>() function may fail and set I<errno> for any of the "
297 "errors specified for the library routine B<write>(2)."
298 msgstr ""
299
300 #. type: Plain text
301 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
302 #: opensuse-tumbleweed
303 msgid ""
304 "The B<mpool_close>() function may fail and set I<errno> for any of the "
305 "errors specified for the library routine B<free>(3)."
306 msgstr ""
307
308 #. type: SH
309 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
310 #: opensuse-tumbleweed
311 #, no-wrap
312 msgid "STANDARDS"
313 msgstr ""
314
315 #. type: Plain text
316 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
317 #: opensuse-tumbleweed
318 msgid "BSD."
319 msgstr ""
320
321 #. type: SH
322 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
323 #: opensuse-tumbleweed
324 #, no-wrap
325 msgid "SEE ALSO"
326 msgstr ""
327
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
330 #: opensuse-tumbleweed
331 msgid "B<btree>(3), B<dbopen>(3), B<hash>(3), B<recno>(3)"
332 msgstr ""
333
334 #. type: TH
335 #: debian-trixie
336 #, no-wrap
337 msgid "2024-05-02"
338 msgstr ""
339
340 #. type: TH
341 #: debian-trixie
342 #, no-wrap
343 msgid "Linux man-pages 6.9.1"
344 msgstr ""
345
346 #. type: Plain text
347 #: debian-trixie
348 msgid "Standard C library (I<libc>, I<-lc>)"
349 msgstr ""
350
351 #. type: Plain text
352 #: debian-trixie
353 #, no-wrap
354 msgid ""
355 "B<void mpool_filter(MPOOL *>I<mp>B<, void (*pgin)(void *, pgno_t, void *),>\n"
356 "B< void (*>I<pgout>B<)(void *, pgno_t, void *),>\n"
357 "B< void *>I<pgcookie>B<);>\n"
358 msgstr ""
359
360 #. type: TH
361 #: mageia-cauldron
362 #, no-wrap
363 msgid "Linux man-pages 6.17"
364 msgstr ""
365
366 #. type: TH
367 #: opensuse-leap-16-1 opensuse-tumbleweed
368 #, no-wrap
369 msgid "Linux man-pages (unreleased)"
370 msgstr ""