Debian Codegraph @

templates/man3/posix_fallocate.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:35+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 fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "posix_fallocate"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
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 fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "posix_fallocate - allocate file space"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>fcntl.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
81 #: opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "B<int posix_fallocate(int >I<fd>B<, off_t >I<offset>B<, off_t >I<size>B<);>\n"
84 msgstr ""
85
86 #. type: Plain text
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 msgid ""
90 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
91 msgstr ""
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 msgid "B<posix_fallocate>():"
97 msgstr ""
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 #, no-wrap
103 msgid " _POSIX_C_SOURCE E<gt>= 200112L\n"
104 msgstr ""
105
106 #. type: SH
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 #, no-wrap
110 msgid "DESCRIPTION"
111 msgstr ""
112
113 #. type: Plain text
114 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
115 #: opensuse-leap-16-1 opensuse-tumbleweed
116 msgid ""
117 "The function B<posix_fallocate>() ensures that disk space is allocated for "
118 "the file referred to by the file descriptor I<fd> for the bytes in the range "
119 "starting at I<offset> and continuing for I<size> bytes. After a successful "
120 "call to B<posix_fallocate>(), subsequent writes to bytes in the specified "
121 "range are guaranteed not to fail because of lack of disk space."
122 msgstr ""
123
124 #. type: Plain text
125 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
126 #: opensuse-leap-16-1 opensuse-tumbleweed
127 msgid ""
128 "If the size of the file is less than I<offset>+I<size>, then the file is "
129 "increased to this size; otherwise the file size is left unchanged."
130 msgstr ""
131
132 #. type: SH
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 #, no-wrap
136 msgid "RETURN VALUE"
137 msgstr ""
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 msgid ""
143 "B<posix_fallocate>() returns zero on success, or an error number on "
144 "failure. Note that I<errno> is not set."
145 msgstr ""
146
147 #. type: SH
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 #, no-wrap
151 msgid "ERRORS"
152 msgstr ""
153
154 #. type: TP
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 #, no-wrap
158 msgid "B<EBADF>"
159 msgstr ""
160
161 #. type: Plain text
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 msgid "I<fd> is not a valid file descriptor, or is not opened for writing."
165 msgstr ""
166
167 #. type: TP
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 #, no-wrap
171 msgid "B<EFBIG>"
172 msgstr ""
173
174 #. type: Plain text
175 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
176 #: opensuse-leap-16-1 opensuse-tumbleweed
177 msgid "I<offset+size> exceeds the maximum file size."
178 msgstr ""
179
180 #. type: TP
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 #, no-wrap
184 msgid "B<EINTR>"
185 msgstr ""
186
187 #. type: Plain text
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 msgid "A signal was caught during execution."
191 msgstr ""
192
193 #. type: TP
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 #, no-wrap
197 msgid "B<EINVAL>"
198 msgstr ""
199
200 #. type: Plain text
201 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
202 #: opensuse-leap-16-1 opensuse-tumbleweed
203 msgid ""
204 "I<offset> was less than 0, or I<size> was less than or equal to 0, or the "
205 "underlying filesystem does not support the operation."
206 msgstr ""
207
208 #. type: TP
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 #, no-wrap
212 msgid "B<ENODEV>"
213 msgstr ""
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 msgid "I<fd> does not refer to a regular file."
219 msgstr ""
220
221 #. type: TP
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 #, no-wrap
225 msgid "B<ENOSPC>"
226 msgstr ""
227
228 #. type: Plain text
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 msgid ""
232 "There is not enough space left on the device containing the file referred to "
233 "by I<fd>."
234 msgstr ""
235
236 #. type: TP
237 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
238 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
239 #, no-wrap
240 msgid "B<EOPNOTSUPP>"
241 msgstr ""
242
243 #. type: Plain text
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
246 msgid ""
247 "The filesystem containing the file referred to by I<fd> does not support "
248 "this operation. This error code can be returned by C libraries that don't "
249 "perform the emulation shown in CAVEATS, such as musl libc."
250 msgstr ""
251
252 #. type: TP
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 #, no-wrap
256 msgid "B<ESPIPE>"
257 msgstr ""
258
259 #. type: Plain text
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 msgid "I<fd> refers to a pipe."
263 msgstr ""
264
265 #. type: SH
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 #, no-wrap
269 msgid "ATTRIBUTES"
270 msgstr ""
271
272 #. type: Plain text
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 msgid ""
276 "For an explanation of the terms used in this section, see B<attributes>(7)."
277 msgstr ""
278
279 #. type: tbl table
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid "Interface"
284 msgstr ""
285
286 #. type: tbl table
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid "Attribute"
291 msgstr ""
292
293 #. type: tbl table
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, no-wrap
297 msgid "Value"
298 msgstr ""
299
300 #. type: tbl table
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 #, no-wrap
304 msgid ".na\n"
305 msgstr ""
306
307 #. type: tbl table
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 #, no-wrap
311 msgid ".nh\n"
312 msgstr ""
313
314 #. type: tbl table
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 #, no-wrap
318 msgid "B<posix_fallocate>()"
319 msgstr ""
320
321 #. type: tbl table
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 #, no-wrap
325 msgid "Thread safety"
326 msgstr ""
327
328 #. type: tbl table
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 #, no-wrap
332 msgid "MT-Safe (but see CAVEATS)"
333 msgstr ""
334
335 #. type: SH
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 #, no-wrap
339 msgid "STANDARDS"
340 msgstr ""
341
342 #. type: Plain text
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 msgid "POSIX.1-2008."
346 msgstr ""
347
348 #. type: SH
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 #, no-wrap
352 msgid "HISTORY"
353 msgstr ""
354
355 #. type: Plain text
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 msgid "glibc 2.1.94. POSIX.1-2001"
359 msgstr ""
360
361 #. type: Plain text
362 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
363 #: opensuse-leap-16-1 opensuse-tumbleweed
364 msgid ""
365 "POSIX.1-2008 says that an implementation I<shall> give the B<EINVAL> error "
366 "if I<size> was 0, or I<offset> was less than 0. POSIX.1-2001 says that an "
367 "implementation I<shall> give the B<EINVAL> error if I<size> is less than 0, "
368 "or I<offset> was less than 0, and I<may> give the error if I<size> equals "
369 "zero."
370 msgstr ""
371
372 #. type: SH
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 #, no-wrap
376 msgid "CAVEATS"
377 msgstr ""
378
379 #. type: Plain text
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 msgid ""
383 "In the glibc implementation, B<posix_fallocate>() is implemented using the "
384 "B<fallocate>(2) system call, which is MT-safe. If the underlying "
385 "filesystem does not support B<fallocate>(2), then the operation is emulated "
386 "with the following caveats:"
387 msgstr ""
388
389 #. type: IP
390 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
391 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
392 #, no-wrap
393 msgid "\\[bu]"
394 msgstr ""
395
396 #. type: Plain text
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 msgid "The emulation is inefficient."
400 msgstr ""
401
402 #. type: Plain text
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 msgid ""
406 "There is a race condition where concurrent writes from another thread or "
407 "process could be overwritten with null bytes."
408 msgstr ""
409
410 #. type: Plain text
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 msgid ""
414 "There is a race condition where concurrent file size increases by another "
415 "thread or process could result in a file whose size is smaller than expected."
416 msgstr ""
417
418 #. type: Plain text
419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
421 msgid ""
422 "If I<fd> has been opened with the B<O_APPEND> or B<O_WRONLY> flags, the "
423 "function fails with the error B<EBADF>."
424 msgstr ""
425
426 #. type: Plain text
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 msgid ""
430 "In general, the emulation is not MT-safe. On Linux, applications may use "
431 "B<fallocate>(2) if they cannot tolerate the emulation caveats. In general, "
432 "this is only recommended if the application plans to terminate the operation "
433 "if B<EOPNOTSUPP> is returned, otherwise the application itself will need to "
434 "implement a fallback with all the same problems as the emulation provided by "
435 "glibc."
436 msgstr ""
437
438 #. type: SH
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
441 #, no-wrap
442 msgid "SEE ALSO"
443 msgstr ""
444
445 #. type: Plain text
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
448 msgid "B<fallocate>(1), B<fallocate>(2), B<lseek>(2), B<posix_fadvise>(2)"
449 msgstr ""
450
451 #. type: TH
452 #: debian-trixie
453 #, no-wrap
454 msgid "2024-06-16"
455 msgstr ""
456
457 #. type: TH
458 #: debian-trixie
459 #, no-wrap
460 msgid "Linux man-pages 6.9.1"
461 msgstr ""
462
463 #. type: Plain text
464 #: debian-trixie
465 msgid "Standard C library (I<libc>, I<-lc>)"
466 msgstr ""
467
468 #. type: Plain text
469 #: debian-trixie
470 #, no-wrap
471 msgid "B<int posix_fallocate(int >I<fd>B<, off_t >I<offset>B<, off_t >I<len>B<);>\n"
472 msgstr ""
473
474 #. type: Plain text
475 #: debian-trixie
476 msgid ""
477 "The function B<posix_fallocate>() ensures that disk space is allocated for "
478 "the file referred to by the file descriptor I<fd> for the bytes in the range "
479 "starting at I<offset> and continuing for I<len> bytes. After a successful "
480 "call to B<posix_fallocate>(), subsequent writes to bytes in the specified "
481 "range are guaranteed not to fail because of lack of disk space."
482 msgstr ""
483
484 #. type: Plain text
485 #: debian-trixie
486 msgid ""
487 "If the size of the file is less than I<offset>+I<len>, then the file is "
488 "increased to this size; otherwise the file size is left unchanged."
489 msgstr ""
490
491 #. type: Plain text
492 #: debian-trixie
493 msgid "I<offset+len> exceeds the maximum file size."
494 msgstr ""
495
496 #. type: Plain text
497 #: debian-trixie
498 msgid ""
499 "I<offset> was less than 0, or I<len> was less than or equal to 0, or the "
500 "underlying filesystem does not support the operation."
501 msgstr ""
502
503 #. type: Plain text
504 #: debian-trixie
505 msgid ""
506 "POSIX.1-2008 says that an implementation I<shall> give the B<EINVAL> error "
507 "if I<len> was 0, or I<offset> was less than 0. POSIX.1-2001 says that an "
508 "implementation I<shall> give the B<EINVAL> error if I<len> is less than 0, "
509 "or I<offset> was less than 0, and I<may> give the error if I<len> equals "
510 "zero."
511 msgstr ""
512
513 #. type: TH
514 #: fedora-44 fedora-rawhide
515 #, no-wrap
516 msgid "2024-11-17"
517 msgstr ""
518
519 #. type: TH
520 #: fedora-44 fedora-rawhide
521 #, no-wrap
522 msgid "Linux man-pages 6.13"
523 msgstr ""
524
525 #. type: TH
526 #: mageia-cauldron
527 #, no-wrap
528 msgid "Linux man-pages 6.17"
529 msgstr ""
530
531 #. type: TH
532 #: opensuse-leap-16-1 opensuse-tumbleweed
533 #, no-wrap
534 msgid "Linux man-pages (unreleased)"
535 msgstr ""