Debian Codegraph @

templates/man2/posix_fadvise.2.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_fadvise"
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_fadvise - predeclare an access pattern for file data"
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_fadvise(int >I<fd>B<, off_t >I<offset>B<, off_t >I<size>B<, int >I<advice>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_fadvise>():"
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-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 msgid ""
117 "Programs can use B<posix_fadvise>() to announce an intention to access file "
118 "data in a specific pattern in the future, thus allowing the kernel to "
119 "perform appropriate optimizations."
120 msgstr ""
121
122 #. type: Plain text
123 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
124 #: opensuse-tumbleweed
125 msgid ""
126 "The I<advice> applies to a (not necessarily existent) region starting at "
127 "I<offset> and extending for I<size> bytes (or until the end of the file if "
128 "I<size> is 0) within the file referred to by I<fd>. The I<advice> is not "
129 "binding; it merely constitutes an expectation on behalf of the application."
130 msgstr ""
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 msgid "Permissible values for I<advice> include:"
136 msgstr ""
137
138 #. type: TP
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 #, no-wrap
142 msgid "B<POSIX_FADV_NORMAL>"
143 msgstr ""
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 msgid ""
149 "Indicates that the application has no advice to give about its access "
150 "pattern for the specified data. If no advice is given for an open file, "
151 "this is the default assumption."
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<POSIX_FADV_SEQUENTIAL>"
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 ""
165 "The application expects to access the specified data sequentially (with "
166 "lower offsets read before higher ones)."
167 msgstr ""
168
169 #. type: TP
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 #, no-wrap
173 msgid "B<POSIX_FADV_RANDOM>"
174 msgstr ""
175
176 #. type: Plain text
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 msgid "The specified data will be accessed in random order."
180 msgstr ""
181
182 #. type: TP
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 #, no-wrap
186 msgid "B<POSIX_FADV_NOREUSE>"
187 msgstr ""
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 msgid "The specified data will be accessed only once."
193 msgstr ""
194
195 #. type: Plain text
196 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
197 #: opensuse-leap-16-1 opensuse-tumbleweed
198 msgid ""
199 "Before Linux 2.6.18, B<POSIX_FADV_NOREUSE> had the same semantics as "
200 "B<POSIX_FADV_WILLNEED>. This was probably a bug; from Linux 2.6.18 until "
201 "Linux 6.2 this flag was a no-op. Since Linux 6.3, B<POSIX_FADV_NOREUSE> "
202 "signals that the kernel page replacement algorithm can ignore access to "
203 "mapped page cache marked by this flag. This is useful, for example, while "
204 "streaming large files."
205 msgstr ""
206
207 #. type: TP
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 #, no-wrap
211 msgid "B<POSIX_FADV_WILLNEED>"
212 msgstr ""
213
214 #. type: Plain text
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 msgid "The specified data will be accessed in the near future."
218 msgstr ""
219
220 #. type: Plain text
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 msgid ""
224 "B<POSIX_FADV_WILLNEED> initiates a nonblocking read of the specified region "
225 "into the page cache. The amount of data read may be decreased by the kernel "
226 "depending on virtual memory load. (A few megabytes will usually be fully "
227 "satisfied, and more is rarely useful.)"
228 msgstr ""
229
230 #. type: TP
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "B<POSIX_FADV_DONTNEED>"
235 msgstr ""
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 msgid "The specified data will not be accessed in the near future."
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 "B<POSIX_FADV_DONTNEED> attempts to free cached pages associated with the "
248 "specified region. This is useful, for example, while streaming large "
249 "files. A program may periodically request the kernel to free cached data "
250 "that has already been used, so that more useful cached pages are not "
251 "discarded instead."
252 msgstr ""
253
254 #. type: Plain text
255 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
256 #: opensuse-leap-16-1 opensuse-tumbleweed
257 msgid ""
258 "Requests to discard partial pages are ignored. It is preferable to preserve "
259 "needed data than discard unneeded data. If the application requires that "
260 "data be considered for discarding, then I<offset> and I<size> must be page-"
261 "aligned."
262 msgstr ""
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 msgid ""
268 "The implementation I<may> attempt to write back dirty pages in the specified "
269 "region, but this is not guaranteed. Any unwritten dirty pages will not be "
270 "freed. If the application wishes to ensure that dirty pages will be "
271 "released, it should call B<fsync>(2) or B<fdatasync>(2) first."
272 msgstr ""
273
274 #. type: SH
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 #, no-wrap
278 msgid "RETURN VALUE"
279 msgstr ""
280
281 #. type: Plain text
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 msgid "On success, zero is returned. On error, an error number is returned."
285 msgstr ""
286
287 #. type: SH
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 #, no-wrap
291 msgid "ERRORS"
292 msgstr ""
293
294 #. type: TP
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 #, no-wrap
298 msgid "B<EBADF>"
299 msgstr ""
300
301 #. type: Plain text
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 msgid "The I<fd> argument was not a valid file descriptor."
305 msgstr ""
306
307 #. type: TP
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 #, no-wrap
311 msgid "B<EINVAL>"
312 msgstr ""
313
314 #. type: Plain text
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 msgid "An invalid value was specified for I<advice>."
318 msgstr ""
319
320 #. type: TP
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 #, no-wrap
324 msgid "B<ESPIPE>"
325 msgstr ""
326
327 #. commit 87ba81dba431232548ce29d5d224115d0c2355ac
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 msgid ""
332 "The specified file descriptor refers to a pipe or FIFO. (B<ESPIPE> is the "
333 "error specified by POSIX, but before Linux 2.6.16, Linux returned B<EINVAL> "
334 "in this case.)"
335 msgstr ""
336
337 #. type: SH
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 #, no-wrap
341 msgid "VERSIONS"
342 msgstr ""
343
344 #. type: Plain text
345 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
346 #: opensuse-leap-16-1 opensuse-tumbleweed
347 msgid ""
348 "Under Linux, B<POSIX_FADV_NORMAL> sets the readahead window to the default "
349 "size for the backing device; B<POSIX_FADV_SEQUENTIAL> doubles this size, and "
350 "B<POSIX_FADV_RANDOM> disables file readahead entirely. "
351 "B<POSIX_FADV_NOREUSE> does not modify the readahead window size. These "
352 "changes affect the entire file, not just the specified region (but other "
353 "open file handles to the same file are unaffected)."
354 msgstr ""
355
356 #. type: SS
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 #, no-wrap
360 msgid "C library/kernel differences"
361 msgstr ""
362
363 #. type: Plain text
364 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
365 #: opensuse-tumbleweed
366 msgid ""
367 "The name of the wrapper function in the C library is B<posix_fadvise>(). "
368 "The underlying system call is called B<fadvise64>() (or, on some "
369 "architectures, B<fadvise64_64>()); the difference between the two is that "
370 "the former system call assumes that the type of the I<size> argument is "
371 "I<size_t>, while the latter expects I<loff_t> there."
372 msgstr ""
373
374 #. type: SS
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 #, no-wrap
378 msgid "Architecture-specific variants"
379 msgstr ""
380
381 #. type: Plain text
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
384 msgid ""
385 "Some architectures require 64-bit arguments to be aligned in a suitable pair "
386 "of registers (see B<syscall>(2) for further detail). On such "
387 "architectures, the call signature of B<posix_fadvise>() shown in the "
388 "SYNOPSIS would force a register to be wasted as padding between the I<fd> "
389 "and I<offset> arguments. Therefore, these architectures define a version of "
390 "the system call that orders the arguments suitably, but is otherwise exactly "
391 "the same as B<posix_fadvise>()."
392 msgstr ""
393
394 #. type: Plain text
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 msgid "For example, since Linux 2.6.14, ARM has the following system call:"
398 msgstr ""
399
400 #. type: Plain text
401 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
402 #: opensuse-leap-16-1 opensuse-tumbleweed
403 #, no-wrap
404 msgid ""
405 "B<long arm_fadvise64_64(int >I<fd>B<, int >I<advice>B<,>\n"
406 "B< loff_t >I<offset>B<, loff_t >I<size>B<);>\n"
407 msgstr ""
408
409 #. type: Plain text
410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
412 msgid ""
413 "These architecture-specific details are generally hidden from applications "
414 "by the glibc B<posix_fadvise>() wrapper function, which invokes the "
415 "appropriate architecture-specific system call."
416 msgstr ""
417
418 #. type: SH
419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
421 #, no-wrap
422 msgid "STANDARDS"
423 msgstr ""
424
425 #. type: Plain text
426 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
427 #: opensuse-tumbleweed
428 msgid "POSIX.1-2024."
429 msgstr ""
430
431 #. type: SH
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 #, no-wrap
435 msgid "HISTORY"
436 msgstr ""
437
438 #. type: Plain text
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
441 msgid "POSIX.1-2001."
442 msgstr ""
443
444 #. of fadvise64_64()
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 ""
449 "Kernel support first appeared in Linux 2.5.60; the underlying system call is "
450 "called B<fadvise64>(). Library support has been provided since glibc 2.2, "
451 "via the wrapper function B<posix_fadvise>()."
452 msgstr ""
453
454 #. commit d3ac21cacc24790eb45d735769f35753f5b56ceb
455 #. type: Plain text
456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
458 msgid ""
459 "Since Linux 3.18, support for the underlying system call is optional, "
460 "depending on the setting of the B<CONFIG_ADVISE_SYSCALLS> configuration "
461 "option."
462 msgstr ""
463
464 #. type: Plain text
465 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
466 #: opensuse-leap-16-1 opensuse-tumbleweed
467 msgid ""
468 "The type of the I<size> argument was changed from I<size_t> to I<off_t> in "
469 "POSIX.1-2001 TC1."
470 msgstr ""
471
472 #. type: SH
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 #, no-wrap
476 msgid "NOTES"
477 msgstr ""
478
479 #. type: Plain text
480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
482 msgid ""
483 "The contents of the kernel buffer cache can be cleared via the I</proc/sys/"
484 "vm/drop_caches> interface described in B<proc>(5)."
485 msgstr ""
486
487 #. type: Plain text
488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
489 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
490 msgid ""
491 "One can obtain a snapshot of which pages of a file are resident in the "
492 "buffer cache by opening a file, mapping it with B<mmap>(2), and then "
493 "applying B<mincore>(2) to the mapping."
494 msgstr ""
495
496 #. type: SH
497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
499 #, no-wrap
500 msgid "BUGS"
501 msgstr ""
502
503 #. type: Plain text
504 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
505 #: opensuse-leap-16-1 opensuse-tumbleweed
506 msgid ""
507 "Before Linux 2.6.6, if I<size> was specified as 0, then this was interpreted "
508 "literally as \"zero bytes\", rather than as meaning \"all bytes through to "
509 "the end of the file\"."
510 msgstr ""
511
512 #. type: SH
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 #, no-wrap
516 msgid "SEE ALSO"
517 msgstr ""
518
519 #. type: Plain text
520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
522 msgid ""
523 "B<fincore>(1), B<mincore>(2), B<readahead>(2), B<sync_file_range>(2), "
524 "B<posix_fallocate>(3), B<posix_madvise>(3)"
525 msgstr ""
526
527 #. type: TH
528 #: debian-trixie
529 #, no-wrap
530 msgid "2024-05-02"
531 msgstr ""
532
533 #. type: TH
534 #: debian-trixie
535 #, no-wrap
536 msgid "Linux man-pages 6.9.1"
537 msgstr ""
538
539 #. type: Plain text
540 #: debian-trixie
541 msgid "Standard C library (I<libc>, I<-lc>)"
542 msgstr ""
543
544 #. type: Plain text
545 #: debian-trixie
546 #, no-wrap
547 msgid "B<int posix_fadvise(int >I<fd>B<, off_t >I<offset>B<, off_t >I<len>B<, int >I<advice>B<);>\n"
548 msgstr ""
549
550 #. type: Plain text
551 #: debian-trixie fedora-44 fedora-rawhide
552 msgid ""
553 "The I<advice> applies to a (not necessarily existent) region starting at "
554 "I<offset> and extending for I<len> bytes (or until the end of the file if "
555 "I<len> is 0) within the file referred to by I<fd>. The I<advice> is not "
556 "binding; it merely constitutes an expectation on behalf of the application."
557 msgstr ""
558
559 #. type: Plain text
560 #: debian-trixie
561 msgid ""
562 "Before Linux 2.6.18, B<POSIX_FADV_NOREUSE> had the same semantics as "
563 "B<POSIX_FADV_WILLNEED>. This was probably a bug; since Linux 2.6.18, this "
564 "flag is a no-op."
565 msgstr ""
566
567 #. type: Plain text
568 #: debian-trixie
569 msgid ""
570 "Requests to discard partial pages are ignored. It is preferable to preserve "
571 "needed data than discard unneeded data. If the application requires that "
572 "data be considered for discarding, then I<offset> and I<len> must be page-"
573 "aligned."
574 msgstr ""
575
576 #. type: Plain text
577 #: debian-trixie
578 msgid ""
579 "Under Linux, B<POSIX_FADV_NORMAL> sets the readahead window to the default "
580 "size for the backing device; B<POSIX_FADV_SEQUENTIAL> doubles this size, and "
581 "B<POSIX_FADV_RANDOM> disables file readahead entirely. These changes affect "
582 "the entire file, not just the specified region (but other open file handles "
583 "to the same file are unaffected)."
584 msgstr ""
585
586 #. type: Plain text
587 #: debian-trixie fedora-44 fedora-rawhide
588 msgid ""
589 "The name of the wrapper function in the C library is B<posix_fadvise>(). "
590 "The underlying system call is called B<fadvise64>() (or, on some "
591 "architectures, B<fadvise64_64>()); the difference between the two is that "
592 "the former system call assumes that the type of the I<len> argument is "
593 "I<size_t>, while the latter expects I<loff_t> there."
594 msgstr ""
595
596 #. type: Plain text
597 #: debian-trixie
598 #, no-wrap
599 msgid ""
600 "B<long arm_fadvise64_64(int >I<fd>B<, int >I<advice>B<,>\n"
601 "B< loff_t >I<offset>B<, loff_t >I<len>B<);>\n"
602 msgstr ""
603
604 #. type: Plain text
605 #: debian-trixie fedora-44 fedora-rawhide
606 msgid "POSIX.1-2008."
607 msgstr ""
608
609 #. type: Plain text
610 #: debian-trixie
611 msgid ""
612 "The type of the I<len> argument was changed from I<size_t> to I<off_t> in "
613 "POSIX.1-2001 TC1."
614 msgstr ""
615
616 #. type: Plain text
617 #: debian-trixie
618 msgid ""
619 "Before Linux 2.6.6, if I<len> was specified as 0, then this was interpreted "
620 "literally as \"zero bytes\", rather than as meaning \"all bytes through to "
621 "the end of the file\"."
622 msgstr ""
623
624 #. type: TH
625 #: fedora-44 fedora-rawhide
626 #, no-wrap
627 msgid "2024-11-20"
628 msgstr ""
629
630 #. type: TH
631 #: fedora-44 fedora-rawhide
632 #, no-wrap
633 msgid "Linux man-pages 6.13"
634 msgstr ""
635
636 #. type: TH
637 #: mageia-cauldron
638 #, no-wrap
639 msgid "Linux man-pages 6.17"
640 msgstr ""
641
642 #. type: TH
643 #: opensuse-leap-16-1 opensuse-tumbleweed
644 #, no-wrap
645 msgid "Linux man-pages (unreleased)"
646 msgstr ""