Debian Codegraph @

templates/man2/truncate.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:49+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 "truncate"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
28 #, no-wrap
29 msgid "2026-04-12"
30 msgstr ""
31
32 #. type: TH
33 #: archlinux debian-unstable
34 #, no-wrap
35 msgid "Linux man-pages 6.18"
36 msgstr ""
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr ""
44
45 #. type: Plain text
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 msgid "truncate, ftruncate - truncate a file to a specified length"
49 msgstr ""
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "LIBRARY"
56 msgstr ""
57
58 #. type: Plain text
59 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
60 #: opensuse-leap-16-1 opensuse-tumbleweed
61 msgid "Standard C library (I<libc>,\\ I<-lc>)"
62 msgstr ""
63
64 #. type: SH
65 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
66 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
67 #, no-wrap
68 msgid "SYNOPSIS"
69 msgstr ""
70
71 #. type: Plain text
72 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
73 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
74 #, no-wrap
75 msgid "B<#include E<lt>unistd.hE<gt>>\n"
76 msgstr ""
77
78 #. type: Plain text
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 #, no-wrap
82 msgid ""
83 "B<int truncate(const char *>I<path>B<, off_t >I<length>B<);>\n"
84 "B<int ftruncate(int >I<fd>B<, off_t >I<length>B<);>\n"
85 msgstr ""
86
87 #. type: Plain text
88 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
89 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
90 msgid ""
91 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
92 msgstr ""
93
94 #. type: Plain text
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 msgid "B<truncate>():"
98 msgstr ""
99
100 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 #, no-wrap
105 msgid ""
106 " _XOPEN_SOURCE E<gt>= 500\n"
107 " || /* Since glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
108 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
109 msgstr ""
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 msgid "B<ftruncate>():"
115 msgstr ""
116
117 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 #, no-wrap
122 msgid ""
123 " _XOPEN_SOURCE E<gt>= 500\n"
124 " || /* Since glibc 2.3.5: */ _POSIX_C_SOURCE E<gt>= 200112L\n"
125 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
126 msgstr ""
127
128 #. type: SH
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 #, no-wrap
132 msgid "DESCRIPTION"
133 msgstr ""
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 msgid ""
139 "The B<truncate>() and B<ftruncate>() functions cause the regular file "
140 "named by I<path> or referenced by I<fd> to be truncated to a size of "
141 "precisely I<length> bytes."
142 msgstr ""
143
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 msgid ""
148 "If the file previously was larger than this size, the extra data is lost. "
149 "If the file previously was shorter, it is extended, and the extended part "
150 "reads as null bytes (\\[aq]\\[rs]0\\[aq])."
151 msgstr ""
152
153 #. type: Plain text
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 msgid "The file offset is not changed."
157 msgstr ""
158
159 #. type: Plain text
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 msgid ""
163 "If the size changed, then the st_ctime and st_mtime fields (respectively, "
164 "time of last status change and time of last modification; see B<inode>(7)) "
165 "for the file are updated, and the set-user-ID and set-group-ID mode bits may "
166 "be cleared."
167 msgstr ""
168
169 #. type: Plain text
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 msgid ""
173 "With B<ftruncate>(), the file must be open for writing; with B<truncate>(), "
174 "the file must be writable."
175 msgstr ""
176
177 #. type: SH
178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
180 #, no-wrap
181 msgid "RETURN VALUE"
182 msgstr ""
183
184 #. type: Plain text
185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
187 msgid ""
188 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
189 "to indicate the error."
190 msgstr ""
191
192 #. type: SH
193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
195 #, no-wrap
196 msgid "ERRORS"
197 msgstr ""
198
199 #. type: Plain text
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 msgid "For B<truncate>():"
203 msgstr ""
204
205 #. type: TP
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 #, no-wrap
209 msgid "B<EACCES>"
210 msgstr ""
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 msgid ""
216 "Search permission is denied for a component of the path prefix, or the named "
217 "file is not writable by the user. (See also B<path_resolution>(7).)"
218 msgstr ""
219
220 #. type: TP
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 #, no-wrap
224 msgid "B<EFAULT>"
225 msgstr ""
226
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 msgid ""
231 "The argument I<path> points outside the process's allocated address space."
232 msgstr ""
233
234 #. type: TP
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 #, no-wrap
238 msgid "B<EFBIG>"
239 msgstr ""
240
241 #. type: Plain text
242 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
243 #: opensuse-tumbleweed
244 msgid "The argument I<length> is larger than the maximum file size. (XSI)"
245 msgstr ""
246
247 #. type: TP
248 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
249 #, no-wrap
250 msgid "B<ENOSPC>"
251 msgstr ""
252
253 #. type: Plain text
254 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
255 msgid ""
256 "There is not enough space left on the device for extending the file size to "
257 "the given I<length>."
258 msgstr ""
259
260 #. type: TP
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 #, no-wrap
264 msgid "B<EINTR>"
265 msgstr ""
266
267 #. type: Plain text
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 msgid ""
271 "While blocked waiting to complete, the call was interrupted by a signal "
272 "handler; see B<fcntl>(2) and B<signal>(7)."
273 msgstr ""
274
275 #. type: TP
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 #, no-wrap
279 msgid "B<EINVAL>"
280 msgstr ""
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 msgid ""
286 "The argument I<length> is negative or larger than the maximum file size."
287 msgstr ""
288
289 #. type: TP
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 #, no-wrap
293 msgid "B<EIO>"
294 msgstr ""
295
296 #. type: Plain text
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 msgid "An I/O error occurred updating the inode."
300 msgstr ""
301
302 #. type: TP
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 #, no-wrap
306 msgid "B<EISDIR>"
307 msgstr ""
308
309 #. type: Plain text
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 msgid "The named file is a directory."
313 msgstr ""
314
315 #. type: TP
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 #, no-wrap
319 msgid "B<ELOOP>"
320 msgstr ""
321
322 #. type: Plain text
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 msgid "Too many symbolic links were encountered in translating the pathname."
326 msgstr ""
327
328 #. type: TP
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 #, no-wrap
332 msgid "B<ENAMETOOLONG>"
333 msgstr ""
334
335 #. type: Plain text
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 msgid ""
339 "A component of a pathname exceeded 255 characters, or an entire pathname "
340 "exceeded 1023 characters."
341 msgstr ""
342
343 #. type: TP
344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
346 #, no-wrap
347 msgid "B<ENOENT>"
348 msgstr ""
349
350 #. type: Plain text
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 msgid "The named file does not exist."
354 msgstr ""
355
356 #. type: TP
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 #, no-wrap
360 msgid "B<ENOTDIR>"
361 msgstr ""
362
363 #. type: Plain text
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 msgid "A component of the path prefix is not a directory."
367 msgstr ""
368
369 #. type: TP
370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
372 #, no-wrap
373 msgid "B<EPERM>"
374 msgstr ""
375
376 #. This happens for at least MSDOS and VFAT filesystems
377 #. on kernel 2.6.13
378 #. type: Plain text
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 msgid ""
382 "The underlying filesystem does not support extending a file beyond its "
383 "current size."
384 msgstr ""
385
386 #. type: Plain text
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 msgid "The operation was prevented by a file seal; see B<fcntl>(2)."
390 msgstr ""
391
392 #. type: TP
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 #, no-wrap
396 msgid "B<EROFS>"
397 msgstr ""
398
399 #. type: Plain text
400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
402 msgid "The named file resides on a read-only filesystem."
403 msgstr ""
404
405 #. type: TP
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 #, no-wrap
409 msgid "B<ETXTBSY>"
410 msgstr ""
411
412 #. type: Plain text
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
415 msgid "The file is an executable file that is being executed."
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 "For B<ftruncate>() the same errors apply, but instead of things that can be "
423 "wrong with I<path>, we now have things that can be wrong with the file "
424 "descriptor, I<fd>:"
425 msgstr ""
426
427 #. type: TP
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 #, no-wrap
431 msgid "B<EBADF>"
432 msgstr ""
433
434 #. type: Plain text
435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
437 msgid "I<fd> is not a valid file descriptor."
438 msgstr ""
439
440 #. type: TP
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 #, no-wrap
444 msgid "B<EBADF> or B<EINVAL>"
445 msgstr ""
446
447 #. type: Plain text
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 msgid "I<fd> is not open for writing."
451 msgstr ""
452
453 #. type: Plain text
454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
456 msgid ""
457 "I<fd> does not reference a regular file or a POSIX shared memory object."
458 msgstr ""
459
460 #. type: TP
461 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
462 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
463 #, no-wrap
464 msgid "B<EINVAL> or B<EBADF>"
465 msgstr ""
466
467 #. type: Plain text
468 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
469 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
470 msgid ""
471 "The file descriptor I<fd> is not open for writing. POSIX permits, and "
472 "portable applications should handle, either error for this case. (Linux "
473 "produces B<EINVAL>.)"
474 msgstr ""
475
476 #. type: SH
477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
479 #, no-wrap
480 msgid "VERSIONS"
481 msgstr ""
482
483 #. At the very least: OSF/1, Solaris 7, and FreeBSD conform, mtk, Jan 2002
484 #. type: Plain text
485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
487 msgid ""
488 "The details in DESCRIPTION are for XSI-compliant systems. For non-XSI-"
489 "compliant systems, the POSIX standard allows two behaviors for "
490 "B<ftruncate>() when I<length> exceeds the file length (note that "
491 "B<truncate>() is not specified at all in such an environment): either "
492 "returning an error, or extending the file. Like most UNIX implementations, "
493 "Linux follows the XSI requirement when dealing with native filesystems. "
494 "However, some nonnative filesystems do not permit B<truncate>() and "
495 "B<ftruncate>() to be used to extend a file beyond its current length: a "
496 "notable example on Linux is VFAT."
497 msgstr ""
498
499 #. type: Plain text
500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
502 msgid ""
503 "On some 32-bit architectures, the calling signature for these system calls "
504 "differ, for the reasons described in B<syscall>(2)."
505 msgstr ""
506
507 #. type: SH
508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
510 #, no-wrap
511 msgid "STANDARDS"
512 msgstr ""
513
514 #. type: Plain text
515 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
516 #: opensuse-tumbleweed
517 msgid "POSIX.1-2024."
518 msgstr ""
519
520 #. type: SH
521 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
522 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
523 #, no-wrap
524 msgid "HISTORY"
525 msgstr ""
526
527 #. POSIX.1-1996 has
528 #. .BR ftruncate ().
529 #. POSIX.1-2001 also has
530 #. .BR truncate (),
531 #. as an XSI extension.
532 #. .P
533 #. SVr4 documents additional
534 #. .BR truncate ()
535 #. error conditions EMFILE, EMULTIHP, ENFILE, ENOLINK. SVr4 documents for
536 #. .BR ftruncate ()
537 #. an additional EAGAIN error condition.
538 #. type: Plain text
539 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
540 #: opensuse-tumbleweed
541 msgid "POSIX.1-2001, SVr4, 4.2BSD."
542 msgstr ""
543
544 #. type: Plain text
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 msgid ""
548 "The original Linux B<truncate>() and B<ftruncate>() system calls were not "
549 "designed to handle large file offsets. Consequently, Linux 2.4 added "
550 "B<truncate64>() and B<ftruncate64>() system calls that handle large "
551 "files. However, these details can be ignored by applications using glibc, "
552 "whose wrapper functions transparently employ the more recent system calls "
553 "where they are available."
554 msgstr ""
555
556 #. type: SH
557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
559 #, no-wrap
560 msgid "NOTES"
561 msgstr ""
562
563 #. type: Plain text
564 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
565 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
566 msgid ""
567 "B<ftruncate>() can also be used to set the size of a POSIX shared memory "
568 "object; see B<shm_open>(3)."
569 msgstr ""
570
571 #. type: SH
572 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
573 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
574 #, no-wrap
575 msgid "BUGS"
576 msgstr ""
577
578 #. http://sourceware.org/bugzilla/show_bug.cgi?id=12037
579 #. type: Plain text
580 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
581 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
582 msgid ""
583 "A header file bug in glibc 2.12 meant that the minimum value of "
584 "B<_POSIX_C_SOURCE> required to expose the declaration of B<ftruncate>() was "
585 "200809L instead of 200112L. This has been fixed in later glibc versions."
586 msgstr ""
587
588 #. type: SH
589 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
590 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
591 #, no-wrap
592 msgid "SEE ALSO"
593 msgstr ""
594
595 #. type: Plain text
596 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
597 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
598 msgid "B<truncate>(1), B<open>(2), B<stat>(2), B<path_resolution>(7)"
599 msgstr ""
600
601 #. type: TH
602 #: debian-trixie
603 #, no-wrap
604 msgid "2024-06-15"
605 msgstr ""
606
607 #. type: TH
608 #: debian-trixie
609 #, no-wrap
610 msgid "Linux man-pages 6.9.1"
611 msgstr ""
612
613 #. type: Plain text
614 #: debian-trixie
615 msgid "Standard C library (I<libc>, I<-lc>)"
616 msgstr ""
617
618 #. type: Plain text
619 #: debian-trixie fedora-44 fedora-rawhide
620 msgid "The argument I<length> is larger than the maximum file size. (XSI)"
621 msgstr ""
622
623 #. type: Plain text
624 #: debian-trixie fedora-44 fedora-rawhide
625 msgid "POSIX.1-2008."
626 msgstr ""
627
628 #. POSIX.1-1996 has
629 #. .BR ftruncate ().
630 #. POSIX.1-2001 also has
631 #. .BR truncate (),
632 #. as an XSI extension.
633 #. .P
634 #. SVr4 documents additional
635 #. .BR truncate ()
636 #. error conditions EMFILE, EMULTIHP, ENFILE, ENOLINK. SVr4 documents for
637 #. .BR ftruncate ()
638 #. an additional EAGAIN error condition.
639 #. type: Plain text
640 #: debian-trixie fedora-44 fedora-rawhide
641 msgid "POSIX.1-2001, 4.4BSD, SVr4 (first appeared in 4.2BSD)."
642 msgstr ""
643
644 #. type: TH
645 #: fedora-44 fedora-rawhide
646 #, no-wrap
647 msgid "2024-07-23"
648 msgstr ""
649
650 #. type: TH
651 #: fedora-44 fedora-rawhide
652 #, no-wrap
653 msgid "Linux man-pages 6.13"
654 msgstr ""
655
656 #. type: TH
657 #: mageia-cauldron
658 #, no-wrap
659 msgid "2025-10-29"
660 msgstr ""
661
662 #. type: TH
663 #: mageia-cauldron
664 #, no-wrap
665 msgid "Linux man-pages 6.17"
666 msgstr ""
667
668 #. type: TH
669 #: opensuse-leap-16-1 opensuse-tumbleweed
670 #, no-wrap
671 msgid "Linux man-pages (unreleased)"
672 msgstr ""