Debian Codegraph @

po/da/man2/truncate.2.po

raw
1 # Danish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Joe Hansen <[email protected]>, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.29.1\n"
8 "POT-Creation-Date: 2026-06-05 06:49+0200\n"
9 "PO-Revision-Date: 2026-05-08 10:33+0100\n"
10 "Last-Translator: Joe Hansen <[email protected]>\n"
11 "Language-Team: Danish <[email protected]>\n"
12 "Language: da\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
18 #. type: TH
19 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
20 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
21 #, no-wrap
22 msgid "truncate"
23 msgstr "truncate"
24
25 #. type: TH
26 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
27 #, no-wrap
28 msgid "2026-04-12"
29 msgstr "12. april 2026"
30
31 #. type: TH
32 #: archlinux debian-unstable
33 #, no-wrap
34 msgid "Linux man-pages 6.18"
35 msgstr "Linux man-pages 6.18"
36
37 #. type: SH
38 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
39 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
40 #, no-wrap
41 msgid "NAME"
42 msgstr "NAVN"
43
44 #. type: Plain text
45 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
46 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
47 msgid "truncate, ftruncate - truncate a file to a specified length"
48 msgstr "truncate, ftruncate - afkort en fil til angivet længde"
49
50 #. type: SH
51 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
52 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
53 #, no-wrap
54 msgid "LIBRARY"
55 msgstr "BIBLIOTEK"
56
57 #. type: Plain text
58 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
59 #: opensuse-leap-16-1 opensuse-tumbleweed
60 msgid "Standard C library (I<libc>,\\ I<-lc>)"
61 msgstr "C-standardbibliotek (I<libc>,\\ I<-lc>)"
62
63 #. type: SH
64 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
65 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
66 #, no-wrap
67 msgid "SYNOPSIS"
68 msgstr "SYNOPSIS"
69
70 #. type: Plain text
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
73 #, no-wrap
74 msgid "B<#include E<lt>unistd.hE<gt>>\n"
75 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid ""
82 "B<int truncate(const char *>I<path>B<, off_t >I<length>B<);>\n"
83 "B<int ftruncate(int >I<fd>B<, off_t >I<length>B<);>\n"
84 msgstr ""
85 "B<int truncate(const char *>I<path>B<, off_t >I<length>B<);>\n"
86 "B<int ftruncate(int >I<fd>B<, off_t >I<length>B<);>\n"
87
88 #. type: Plain text
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 msgid ""
92 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
93 msgstr ""
94 "Feature Test Macro Requirements for glibc (se B<feature_test_macros>(7)):"
95
96 #. type: Plain text
97 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
98 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
99 msgid "B<truncate>():"
100 msgstr "B<truncate>():"
101
102 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
103 #. type: Plain text
104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
106 #, no-wrap
107 msgid ""
108 " _XOPEN_SOURCE E<gt>= 500\n"
109 " || /* Since glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
110 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
111 msgstr ""
112 " _XOPEN_SOURCE E<gt>= 500\n"
113 " || /* Siden glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
114 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 msgid "B<ftruncate>():"
120 msgstr "B<ftruncate>():"
121
122 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
123 #. type: Plain text
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 #, no-wrap
127 msgid ""
128 " _XOPEN_SOURCE E<gt>= 500\n"
129 " || /* Since glibc 2.3.5: */ _POSIX_C_SOURCE E<gt>= 200112L\n"
130 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
131 msgstr ""
132 " _XOPEN_SOURCE E<gt>= 500\n"
133 " || /* Siden glibc 2.3.5: */ _POSIX_C_SOURCE E<gt>= 200112L\n"
134 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
135
136 #. type: SH
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 #, no-wrap
140 msgid "DESCRIPTION"
141 msgstr "BESKRIVELSE"
142
143 #. type: Plain text
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
146 msgid ""
147 "The B<truncate>() and B<ftruncate>() functions cause the regular file "
148 "named by I<path> or referenced by I<fd> to be truncated to a size of "
149 "precisely I<length> bytes."
150 msgstr ""
151 "Funktionerne B<truncate>() og B<ftruncate>() får filen navngivet af I<sti> "
152 "eller refereret til af I<fd> til at blive afkortet til en størrelse på "
153 "præcis I<længde> byte."
154
155 #. type: Plain text
156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
158 msgid ""
159 "If the file previously was larger than this size, the extra data is lost. "
160 "If the file previously was shorter, it is extended, and the extended part "
161 "reads as null bytes (\\[aq]\\[rs]0\\[aq])."
162 msgstr ""
163 "Hvis filen tidligere var større end den størrelse mistes de ekstra data. "
164 "Hvis filen tidligere var kortere, så udvides den, og den udvidede del læses "
165 "som null-byte (\\[aq]\\[rs]0\\[aq])."
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 msgid "The file offset is not changed."
171 msgstr "Filforskydningen ændres ikke."
172
173 #. type: Plain text
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 msgid ""
177 "If the size changed, then the st_ctime and st_mtime fields (respectively, "
178 "time of last status change and time of last modification; see B<inode>(7)) "
179 "for the file are updated, and the set-user-ID and set-group-ID mode bits may "
180 "be cleared."
181 msgstr ""
182 "Hvis størrelsen ændrede sig så opdateres felterne st_ctime og st_mtime "
183 "(respektivt, tid for sidste statusændring og tid for seneste ændring; se "
184 "B<inode>(7)) for filerne og tilstandsbit'ene set-user-ID og set-group-ID kan "
185 "blive ryddet."
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 ""
191 "With B<ftruncate>(), the file must be open for writing; with B<truncate>(), "
192 "the file must be writable."
193 msgstr ""
194 "Med B<ftruncate>() skal filen være åben for skrivning; med B<truncate>() "
195 "skal filen være skrivbar."
196
197 #. type: SH
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 #, no-wrap
201 msgid "RETURN VALUE"
202 msgstr "RETURVÆRDI"
203
204 #. type: Plain text
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 msgid ""
208 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
209 "to indicate the error."
210 msgstr ""
211 "Ved succes returneres nul. Ved fejl returneres -1 og I<errno> angives for at "
212 "indikere fejlen."
213
214 #. type: SH
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 #, no-wrap
218 msgid "ERRORS"
219 msgstr "FEJL"
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid "For B<truncate>():"
225 msgstr "For B<truncate>():"
226
227 #. type: TP
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 #, no-wrap
231 msgid "B<EACCES>"
232 msgstr "B<EACCES>"
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 msgid ""
238 "Search permission is denied for a component of the path prefix, or the named "
239 "file is not writable by the user. (See also B<path_resolution>(7).)"
240 msgstr ""
241 "Søgerettighed er nægtet for en komponent for stipræfikset eller den "
242 "navngivne fil er ikke skrivbar for brugeren. (Se også B<path_resolution>(7))."
243
244 #. type: TP
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "B<EFAULT>"
249 msgstr "B<EFAULT>"
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 msgid ""
255 "The argument I<path> points outside the process's allocated address space."
256 msgstr "Argumentet I<sti> peger udenfor processens allokerede adresserum."
257
258 #. type: TP
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, no-wrap
262 msgid "B<EFBIG>"
263 msgstr "B<EFBIG>"
264
265 #. type: Plain text
266 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
267 #: opensuse-tumbleweed
268 msgid "The argument I<length> is larger than the maximum file size. (XSI)"
269 msgstr "Argumentet I<længde> er større end den maksimale filstørrelse. (XSI)"
270
271 #. type: TP
272 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
273 #, no-wrap
274 msgid "B<ENOSPC>"
275 msgstr "B<ENOSPC>"
276
277 #. type: Plain text
278 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
279 msgid ""
280 "There is not enough space left on the device for extending the file size to "
281 "the given I<length>."
282 msgstr ""
283 "Der er ikke nok plads tilbage på enheden til at udvide filstørrelsen til den "
284 "angivne I<længde>."
285
286 #. type: TP
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid "B<EINTR>"
291 msgstr "B<EINTR>"
292
293 #. type: Plain text
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 msgid ""
297 "While blocked waiting to complete, the call was interrupted by a signal "
298 "handler; see B<fcntl>(2) and B<signal>(7)."
299 msgstr ""
300 "Mens blokeret og ventende på fuldførelse blev kaldet afbrudt af en "
301 "signalhåndtering; se B<fcntl>(2) og B<signal>(7)."
302
303 #. type: TP
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 #, no-wrap
307 msgid "B<EINVAL>"
308 msgstr "B<EINVAL>"
309
310 #. type: Plain text
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 msgid ""
314 "The argument I<length> is negative or larger than the maximum file size."
315 msgstr ""
316 "Argumentet I<længde> er negativt eller større end den maksimale filstørrelse."
317
318 #. type: TP
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 #, no-wrap
322 msgid "B<EIO>"
323 msgstr "B<EIO>"
324
325 #. type: Plain text
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 msgid "An I/O error occurred updating the inode."
329 msgstr "Der opstod en I/O-fejl under opdatering af iknuden."
330
331 #. type: TP
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 #, no-wrap
335 msgid "B<EISDIR>"
336 msgstr "B<EISDIR>"
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 msgid "The named file is a directory."
342 msgstr "Den navngivne fil er en mappe."
343
344 #. type: TP
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 #, no-wrap
348 msgid "B<ELOOP>"
349 msgstr "B<ELOOP>"
350
351 #. type: Plain text
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 msgid "Too many symbolic links were encountered in translating the pathname."
355 msgstr ""
356 "For mange symbolske henvisninger blev mødt under oversættelse af stinavnet."
357
358 #. type: TP
359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
361 #, no-wrap
362 msgid "B<ENAMETOOLONG>"
363 msgstr "B<ENAMETOOLONG>"
364
365 #. type: Plain text
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 msgid ""
369 "A component of a pathname exceeded 255 characters, or an entire pathname "
370 "exceeded 1023 characters."
371 msgstr ""
372 "En komponent af et stinavn er større end 255 tegn, eller et helt stinavn var "
373 "større end 1.023 tegn."
374
375 #. type: TP
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 #, no-wrap
379 msgid "B<ENOENT>"
380 msgstr "B<ENOENT>"
381
382 #. type: Plain text
383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
385 msgid "The named file does not exist."
386 msgstr "Den navngivne fil findes ikke."
387
388 #. type: TP
389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
391 #, no-wrap
392 msgid "B<ENOTDIR>"
393 msgstr "B<ENOTDIR>"
394
395 #. type: Plain text
396 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
397 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
398 msgid "A component of the path prefix is not a directory."
399 msgstr "En komponent i stipræfikset er ikke en mappe."
400
401 #. type: TP
402 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
403 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
404 #, no-wrap
405 msgid "B<EPERM>"
406 msgstr "B<EPERM>"
407
408 #. This happens for at least MSDOS and VFAT filesystems
409 #. on kernel 2.6.13
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 "The underlying filesystem does not support extending a file beyond its "
415 "current size."
416 msgstr ""
417 "Det underliggende filsystem understøtter ikke udvidelse af en fil udover "
418 "dens nuværende størrelse."
419
420 #. type: Plain text
421 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
422 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
423 msgid "The operation was prevented by a file seal; see B<fcntl>(2)."
424 msgstr "Operationen blev forhindret af en filforsegling; se B<fcntl>(2)."
425
426 #. type: TP
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 #, no-wrap
430 msgid "B<EROFS>"
431 msgstr "B<EROFS>"
432
433 #. type: Plain text
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 msgid "The named file resides on a read-only filesystem."
437 msgstr "Den navngivne fil befinder sig på et skrivebeskyttet filsystem."
438
439 #. type: TP
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 #, no-wrap
443 msgid "B<ETXTBSY>"
444 msgstr "B<ETXTBSY>"
445
446 #. type: Plain text
447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
449 msgid "The file is an executable file that is being executed."
450 msgstr "Filen er en kørbar fil, der bliver afviklet."
451
452 #. type: Plain text
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 msgid ""
456 "For B<ftruncate>() the same errors apply, but instead of things that can be "
457 "wrong with I<path>, we now have things that can be wrong with the file "
458 "descriptor, I<fd>:"
459 msgstr ""
460 "For B<ftruncate>() gælder de samme fejl, men i stedet for ting, der kan være "
461 "galt med I<sti>, så har vi nu ting, der kan være galt med fildeskriptoren, "
462 "I<fd>:"
463
464 #. type: TP
465 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
466 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
467 #, no-wrap
468 msgid "B<EBADF>"
469 msgstr "B<EBADF>"
470
471 #. type: Plain text
472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
474 msgid "I<fd> is not a valid file descriptor."
475 msgstr "I<fd> er ikke en gyldig filbeskrivelse."
476
477 #. type: TP
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
480 #, no-wrap
481 msgid "B<EBADF> or B<EINVAL>"
482 msgstr "B<EBADF> eller B<EINVAL>"
483
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 "I<fd> is not open for writing."
488 msgstr "I<fd> er ikke åben for skriving."
489
490 #. type: Plain text
491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
493 msgid ""
494 "I<fd> does not reference a regular file or a POSIX shared memory object."
495 msgstr ""
496 "I<fd> refererer ikke en normal fil eller et POSIX-delt hukommelsesobjekt."
497
498 #. type: TP
499 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
500 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
501 #, no-wrap
502 msgid "B<EINVAL> or B<EBADF>"
503 msgstr "B<EINVAL> eller B<EBADF>"
504
505 #. type: Plain text
506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
508 msgid ""
509 "The file descriptor I<fd> is not open for writing. POSIX permits, and "
510 "portable applications should handle, either error for this case. (Linux "
511 "produces B<EINVAL>.)"
512 msgstr ""
513 "Fildeskriptoren I<fd> er ikke åben for skrivning. POSIX-rettigheder og "
514 "flytbare programmer skal håndtere begge fejl i dette tilfælde. (Linux laver "
515 "B<EINVAL>)."
516
517 #. type: SH
518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
520 #, no-wrap
521 msgid "VERSIONS"
522 msgstr "VERSIONER"
523
524 #. At the very least: OSF/1, Solaris 7, and FreeBSD conform, mtk, Jan 2002
525 #. type: Plain text
526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
528 msgid ""
529 "The details in DESCRIPTION are for XSI-compliant systems. For non-XSI-"
530 "compliant systems, the POSIX standard allows two behaviors for "
531 "B<ftruncate>() when I<length> exceeds the file length (note that "
532 "B<truncate>() is not specified at all in such an environment): either "
533 "returning an error, or extending the file. Like most UNIX implementations, "
534 "Linux follows the XSI requirement when dealing with native filesystems. "
535 "However, some nonnative filesystems do not permit B<truncate>() and "
536 "B<ftruncate>() to be used to extend a file beyond its current length: a "
537 "notable example on Linux is VFAT."
538 msgstr ""
539 "Detaljerne i DESCRIPTION er for XSI-overholdende systemer. For ikke-XSI-"
540 "overholdende systemer tillader POSIX-standarden to opførelser for "
541 "B<ftruncate>() når I<længde> er større end fillængden (bemærk at "
542 "B<truncate>() ikke er angivet overhovedet i sådan et miljø): returnerer "
543 "hverken en fejl, eller udvider filen. Som de fleste UNIX-implementeringer, "
544 "følger Linux XSI-kravet under håndtering af standardfilsystemer. Nogle ej "
545 "standardfilsystemer tillader dog ikke at B<truncate>() og B<ftruncate>() "
546 "bruges til at udvide en fil udover sin nuværende længde: et "
547 "bemærkelsesværdigt eksempel på Linux er VFAT."
548
549 #. type: Plain text
550 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
551 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
552 msgid ""
553 "On some 32-bit architectures, the calling signature for these system calls "
554 "differ, for the reasons described in B<syscall>(2)."
555 msgstr ""
556 "På nogle 32-bit arkitekturer er den kaldende signatur for disse systemkald "
557 "anderledes, af årsagerne beskrevet i B<syscall>(2)."
558
559 #. type: SH
560 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
561 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
562 #, no-wrap
563 msgid "STANDARDS"
564 msgstr "STANDARDER"
565
566 #. type: Plain text
567 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
568 #: opensuse-tumbleweed
569 msgid "POSIX.1-2024."
570 msgstr "POSIX.1-2024."
571
572 #. type: SH
573 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
574 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
575 #, no-wrap
576 msgid "HISTORY"
577 msgstr "HISTORIK"
578
579 #. POSIX.1-1996 has
580 #. .BR ftruncate ().
581 #. POSIX.1-2001 also has
582 #. .BR truncate (),
583 #. as an XSI extension.
584 #. .P
585 #. SVr4 documents additional
586 #. .BR truncate ()
587 #. error conditions EMFILE, EMULTIHP, ENFILE, ENOLINK. SVr4 documents for
588 #. .BR ftruncate ()
589 #. an additional EAGAIN error condition.
590 #. type: Plain text
591 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
592 #: opensuse-tumbleweed
593 msgid "POSIX.1-2001, SVr4, 4.2BSD."
594 msgstr "POSIX.1-2001, SVr4, 4.2BSD."
595
596 #. type: Plain text
597 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
598 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
599 msgid ""
600 "The original Linux B<truncate>() and B<ftruncate>() system calls were not "
601 "designed to handle large file offsets. Consequently, Linux 2.4 added "
602 "B<truncate64>() and B<ftruncate64>() system calls that handle large "
603 "files. However, these details can be ignored by applications using glibc, "
604 "whose wrapper functions transparently employ the more recent system calls "
605 "where they are available."
606 msgstr ""
607 "De oprindelige Linux-systemkald B<truncate>() og B<ftruncate>() blev ikke "
608 "designet til at håndtere store filforskydninger. Som konsekvens tilføjet "
609 "Linux 2.4 systemkaldene B<truncate64>() og B<ftruncate64>(), der håndterer "
610 "store filer. Disse detaljer kan dog ignoreres af programmer, der bruger "
611 "glibc, hvis omslagsfunktioner gennemsigtigt anvender de seneste systemkald, "
612 "når de er tilgængelige."
613
614 #. type: SH
615 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
616 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
617 #, no-wrap
618 msgid "NOTES"
619 msgstr "NOTER"
620
621 #. type: Plain text
622 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
623 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
624 msgid ""
625 "B<ftruncate>() can also be used to set the size of a POSIX shared memory "
626 "object; see B<shm_open>(3)."
627 msgstr ""
628 "B<ftruncate>() kan også bruges til at angive størrelsen for et POSIX-delt "
629 "hukommelsesobjekt; se B<shm_open>(3)."
630
631 #. type: SH
632 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
633 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
634 #, no-wrap
635 msgid "BUGS"
636 msgstr "FEJL"
637
638 #. http://sourceware.org/bugzilla/show_bug.cgi?id=12037
639 #. type: Plain text
640 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
641 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
642 msgid ""
643 "A header file bug in glibc 2.12 meant that the minimum value of "
644 "B<_POSIX_C_SOURCE> required to expose the declaration of B<ftruncate>() was "
645 "200809L instead of 200112L. This has been fixed in later glibc versions."
646 msgstr ""
647 "En teksthovedfilfejl i glibc 2.12 betød at minimumsværdien for "
648 "B<_POSIX_C_SOURCE> krævede at vise erklæringen af B<ftruncate>() var 200809L "
649 "i stedet for 200112L. Dette blev rettet i senere glibc-versioner."
650
651 #. type: SH
652 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
653 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
654 #, no-wrap
655 msgid "SEE ALSO"
656 msgstr "SE OGSÅ"
657
658 #. type: Plain text
659 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
660 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
661 msgid "B<truncate>(1), B<open>(2), B<stat>(2), B<path_resolution>(7)"
662 msgstr "B<truncate>(1), B<open>(2), B<stat>(2), B<path_resolution>(7)"
663
664 #. type: TH
665 #: debian-trixie
666 #, no-wrap
667 msgid "2024-06-15"
668 msgstr "15. juni 2024"
669
670 #. type: TH
671 #: debian-trixie
672 #, no-wrap
673 msgid "Linux man-pages 6.9.1"
674 msgstr "Linux man-pages 6.9.1"
675
676 #. type: Plain text
677 #: debian-trixie
678 msgid "Standard C library (I<libc>, I<-lc>)"
679 msgstr "C-standardbibliotek (I<libc>, I<-lc>)"
680
681 #. type: Plain text
682 #: debian-trixie fedora-44 fedora-rawhide
683 msgid "The argument I<length> is larger than the maximum file size. (XSI)"
684 msgstr "Argumentet I<length> er længere end den maksimale filstørrelse. (XSI)"
685
686 #. type: Plain text
687 #: debian-trixie fedora-44 fedora-rawhide
688 msgid "POSIX.1-2008."
689 msgstr "POSIX.1-2008."
690
691 #. POSIX.1-1996 has
692 #. .BR ftruncate ().
693 #. POSIX.1-2001 also has
694 #. .BR truncate (),
695 #. as an XSI extension.
696 #. .P
697 #. SVr4 documents additional
698 #. .BR truncate ()
699 #. error conditions EMFILE, EMULTIHP, ENFILE, ENOLINK. SVr4 documents for
700 #. .BR ftruncate ()
701 #. an additional EAGAIN error condition.
702 #. type: Plain text
703 #: debian-trixie fedora-44 fedora-rawhide
704 msgid "POSIX.1-2001, 4.4BSD, SVr4 (first appeared in 4.2BSD)."
705 msgstr "POSIX.1-2001, 4.4BSD, SVr4 (var første gang i 4.2BSD)."
706
707 #. type: TH
708 #: fedora-44 fedora-rawhide
709 #, no-wrap
710 msgid "2024-07-23"
711 msgstr "23. juli 2024"
712
713 #. type: TH
714 #: fedora-44 fedora-rawhide
715 #, no-wrap
716 msgid "Linux man-pages 6.13"
717 msgstr "Linux man-pages 6.13"
718
719 #. type: TH
720 #: mageia-cauldron
721 #, no-wrap
722 msgid "2025-10-29"
723 msgstr "29. oktober 2025"
724
725 #. type: TH
726 #: mageia-cauldron
727 #, no-wrap
728 msgid "Linux man-pages 6.17"
729 msgstr "Linux man-pages 6.17"
730
731 #. type: TH
732 #: opensuse-leap-16-1 opensuse-tumbleweed
733 #, no-wrap
734 msgid "Linux man-pages (unreleased)"
735 msgstr "Linux man-pages (ej udgivet)"