Debian Codegraph @

po/nl/man2/close.2.po

raw
1 # Dutch translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Jos Boersema <[email protected]>, 2001.
5 # Mario Blättermann <[email protected]>, 2019, 2020.
6 # Luc Castermans <[email protected]>, 2021-2023, 2024.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n 2.15\n"
10 "POT-Creation-Date: 2026-06-05 06:20+0200\n"
11 "PO-Revision-Date: 2024-08-31 09:12+0200\n"
12 "Last-Translator: luc <[email protected]>\n"
13 "Language-Team: Dutch <>\n"
14 "Language: nl_NL\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=2; plural=(n != 1)\n"
19 "X-Generator: Lokalize 22.12.3\n"
20
21 #. type: TH
22 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
23 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
24 #, no-wrap
25 msgid "close"
26 msgstr "close"
27
28 #. type: TH
29 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
30 #: opensuse-tumbleweed
31 #, no-wrap
32 msgid "2026-02-08"
33 msgstr "8 februari 2026"
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, fuzzy, no-wrap
38 #| msgid "Linux man-pages 6.17"
39 msgid "Linux man-pages 6.18"
40 msgstr "Linux man-paginas 6.17"
41
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
45 #, no-wrap
46 msgid "NAME"
47 msgstr "NAAM"
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 msgid "close - close a file descriptor"
53 msgstr "close - sluit een bestandsindicator"
54
55 #. type: SH
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 #, no-wrap
59 msgid "LIBRARY"
60 msgstr "BIBLIOTHEEK"
61
62 #. type: Plain text
63 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
64 #: opensuse-leap-16-1 opensuse-tumbleweed
65 msgid "Standard C library (I<libc>,\\ I<-lc>)"
66 msgstr "Standaard C bibliotheek (I<libc>, I<-lc>)"
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "SYNOPSIS"
73 msgstr "SAMENVATTING"
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "B<#include E<lt>unistd.hE<gt>>\n"
80 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
81
82 #. type: Plain text
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid "B<int close(int >I<fd>B<);>\n"
87 msgstr "B<int close(int >I<bi>B<);>\n"
88
89 #. type: SH
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 #, no-wrap
93 msgid "DESCRIPTION"
94 msgstr "BESCHRIJVING"
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 ""
100 "B<close>() closes a file descriptor, so that it no longer refers to any "
101 "file and may be reused. Any record locks (see B<fcntl>(2)) held on the "
102 "file it was associated with, and owned by the process, are removed "
103 "regardless of the file descriptor that was used to obtain the lock. This "
104 "has some unfortunate consequences and one should be extra careful when using "
105 "advisory record locking. See B<fcntl>(2) for discussion of the risks and "
106 "consequences as well as for the (probably preferred) open file description "
107 "locks."
108 msgstr ""
109 "B<close>() sluit een bestandsindicator, zodat deze niet langer naar een "
110 "bestand wijst en hergebruikt kan worden. Eventuele record sloten op het "
111 "bestand (zie B<fcntl>(2)) die het eigendom waren van het proces worden "
112 "verwijderd (onafhankelijk van de bestandsindicator die gebruikt werd om het "
113 "slot te verkrijgen). Dit heeft enkele nare consequenties en men moet extra "
114 "voorzichtig zijn bij het gebruik van advies record sloten. Zie B<fcntl>(2) "
115 "voor een discussie van de risico´s en consequenties en ook over de (mogelijk "
116 "geprefereerde) open bestandsindicator sloten."
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 msgid ""
122 "If I<fd> is the last file descriptor referring to the underlying open file "
123 "description (see B<open>(2)), the resources associated with the open file "
124 "description are freed; if the file descriptor was the last reference to a "
125 "file which has been removed using B<unlink>(2), the file is deleted."
126 msgstr ""
127 "Als I<bi> de laatste dubbelganger van een bepaalde bestandsindicator is, "
128 "worden de systeem-middelen die erbij horen vrijgemaakt; als de "
129 "bestandsindicator de laatste verwijzing was naar een bestand dat verwijderd "
130 "werd met B<unlink>(2) dan wordt het bestand verwijderd."
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 "EIND WAARDE"
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<close>() returns zero on success. On error, -1 is returned, and I<errno> "
144 "is set to indicate the error."
145 msgstr ""
146 "Bij succes geeft B<close>() nul terug. Bij falen wordt -1 teruggegeven en "
147 "wordt I<errno> overeenkomstig gezet."
148
149 #. type: SH
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 #, no-wrap
153 msgid "ERRORS"
154 msgstr "FOUTEN"
155
156 #. type: TP
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 #, no-wrap
160 msgid "B<EBADF>"
161 msgstr "B<EBADF>"
162
163 #. type: Plain text
164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
166 msgid "I<fd> isn't a valid open file descriptor."
167 msgstr "I<bi> is geen geldige open bestandsindicator."
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<EINTR>"
174 msgstr "B<EINTR>"
175
176 #. Though, it's in doubt whether this error can ever occur; see
177 #. https://lwn.net/Articles/576478/ "Returning EINTR from close()"
178 #. type: Plain text
179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
181 msgid "The B<close>() call was interrupted by a signal; see B<signal>(7)."
182 msgstr ""
183 "De B<close>() aanroep werd onderbroken door een signaal; zie B<signal>(7)."
184
185 #. type: TP
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 #, no-wrap
189 msgid "B<EIO>"
190 msgstr "B<EIO>"
191
192 #. type: Plain text
193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
195 msgid "An I/O error occurred."
196 msgstr "Een Invoer/Uitvoer fout trad op."
197
198 #. type: TP
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 #, no-wrap
202 msgid "B<ENOSPC>"
203 msgstr "B<ENOSPC>"
204
205 #. type: TQ
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<EDQUOT>"
210 msgstr "B<EDQUOT>"
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 "On NFS, these errors are not normally reported against the first write which "
217 "exceeds the available storage space, but instead against a subsequent "
218 "B<write>(2), B<fsync>(2), or B<close>()."
219 msgstr ""
220 "Op NFS worden deze fouten normaliter gerapporteerd tegen de eerste schrijf "
221 "actie die de beschikbare opslag ruimte overschrijdt, maar in plaats daarvan "
222 "tegen een volgende B<write>(2), B<fsync>(2), of B<close>()."
223
224 #. type: Plain text
225 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
226 #: opensuse-tumbleweed
227 #, fuzzy
228 #| msgid ""
229 #| "See NOTES for a discussion of why B<close>() should not be retried after "
230 #| "an error."
231 msgid ""
232 "See CAVEATS for a discussion of why B<close>() should not be retried after "
233 "an error."
234 msgstr ""
235 "Zie OPMERKINGEN voor een discussie over waarom B<close>() niet opnieuw "
236 "geprobeerd moet worden na een fout."
237
238 #. type: SH
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 #, no-wrap
242 msgid "STANDARDS"
243 msgstr "STANDAARDEN"
244
245 #. type: Plain text
246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
247 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
248 msgid "POSIX.1-2008."
249 msgstr "POSIX.1-2008."
250
251 #. type: SH
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, no-wrap
255 msgid "HISTORY"
256 msgstr "HISTORIE"
257
258 #. SVr4 documents an additional ENOLINK error condition.
259 #. type: Plain text
260 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
261 #: opensuse-tumbleweed
262 #, fuzzy
263 #| msgid "SVr4, 4.3BSD, C89, POSIX.1-2001."
264 msgid "4.3BSD, SVr4, POSIX.1-1988."
265 msgstr "SVr4, 4.3BSD, C89, POSIX.1-2001."
266
267 #. type: SH
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 #, no-wrap
271 msgid "NOTES"
272 msgstr "OPMERKINGEN"
273
274 #. type: Plain text
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 msgid ""
278 "The close-on-exec file descriptor flag can be used to ensure that a file "
279 "descriptor is automatically closed upon a successful B<execve>(2); see "
280 "B<fcntl>(2) for details."
281 msgstr ""
282 "De sluit-bij-uitvoeren bestandsindicator vlag kan worden gebruikt om er voor "
283 "zorg te dragen dat een bestandsindicator automatisch wordt gesloten bij een "
284 "succesvolle B<execve>(2); zie B<fcntl>(2) voor details."
285
286 #. type: SH
287 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
288 #: opensuse-tumbleweed
289 #, no-wrap
290 msgid "CAVEATS"
291 msgstr ""
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 "A successful close does not guarantee that the data has been successfully "
298 "saved to disk, as the kernel uses the buffer cache to defer writes. "
299 "Typically, filesystems do not flush buffers when a file is closed. If you "
300 "need to be sure that the data is physically stored on the underlying disk, "
301 "use B<fsync>(2). (It will depend on the disk hardware at this point.)"
302 msgstr ""
303 "Een succesvolle B<close>() garandeert niet dat de gegevens succesvol zijn "
304 "bewaard op de schijf doordat de kernel het schrijven ervan achterhoudt. Het "
305 "is niet normaal voor een bestandssysteem om de buffers door te spoelen als "
306 "het bestand wordt gesloten. Als u zeker moet zijn dat de gegevens fysiek "
307 "bewaard zijn, gebruik dan B<fsync>(2). (Het hangt nu verder van de schijf "
308 "hardware af.)"
309
310 #. type: SS
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 #, no-wrap
314 msgid "Multithreaded processes and close()"
315 msgstr "Multithreaded processen en close()"
316
317 #. #-#-#-#-# archlinux: close.2.pot (PACKAGE VERSION) #-#-#-#-#
318 #. Date: Tue, 4 Sep 2007 13:57:35 +0200
319 #. From: Fredrik Noring <[email protected]>
320 #. One such race involves signals and ERESTARTSYS. If a file descriptor
321 #. in use by a system call is closed and then reused by, e.g., an
322 #. independent open() in some unrelated thread, before the original system
323 #. call has restarted after ERESTARTSYS, the original system call will
324 #. later restart with the reused file descriptor. This is most likely a
325 #. serious programming error.
326 #. type: Plain text
327 #. #-#-#-#-# debian-trixie: close.2.pot (PACKAGE VERSION) #-#-#-#-#
328 #. Date: Tue, 4 Sep 2007 13:57:35 +0200
329 #. From: Fredrik Noring <[email protected]>
330 #. One such race involves signals and ERESTARTSYS. If a file descriptor
331 #. in use by a system call is closed and then reused by e.g. an
332 #. independent open() in some unrelated thread, before the original system
333 #. call has restarted after ERESTARTSYS, the original system call will
334 #. later restart with the reused file descriptor. This is most likely a
335 #. serious programming error.
336 #. type: Plain text
337 #. #-#-#-#-# debian-unstable: close.2.pot (PACKAGE VERSION) #-#-#-#-#
338 #. Date: Tue, 4 Sep 2007 13:57:35 +0200
339 #. From: Fredrik Noring <[email protected]>
340 #. One such race involves signals and ERESTARTSYS. If a file descriptor
341 #. in use by a system call is closed and then reused by, e.g., an
342 #. independent open() in some unrelated thread, before the original system
343 #. call has restarted after ERESTARTSYS, the original system call will
344 #. later restart with the reused file descriptor. This is most likely a
345 #. serious programming error.
346 #. type: Plain text
347 #. #-#-#-#-# fedora-44: close.2.pot (PACKAGE VERSION) #-#-#-#-#
348 #. type: Plain text
349 #. #-#-#-#-# fedora-rawhide: close.2.pot (PACKAGE VERSION) #-#-#-#-#
350 #. type: Plain text
351 #. #-#-#-#-# mageia-cauldron: close.2.pot (PACKAGE VERSION) #-#-#-#-#
352 #. Date: Tue, 4 Sep 2007 13:57:35 +0200
353 #. From: Fredrik Noring <[email protected]>
354 #. One such race involves signals and ERESTARTSYS. If a file descriptor
355 #. in use by a system call is closed and then reused by, e.g., an
356 #. independent open() in some unrelated thread, before the original system
357 #. call has restarted after ERESTARTSYS, the original system call will
358 #. later restart with the reused file descriptor. This is most likely a
359 #. serious programming error.
360 #. type: Plain text
361 #. #-#-#-#-# opensuse-leap-16-1: close.2.pot (PACKAGE VERSION) #-#-#-#-#
362 #. Date: Tue, 4 Sep 2007 13:57:35 +0200
363 #. From: Fredrik Noring <[email protected]>
364 #. One such race involves signals and ERESTARTSYS. If a file descriptor
365 #. in use by a system call is closed and then reused by, e.g., an
366 #. independent open() in some unrelated thread, before the original system
367 #. call has restarted after ERESTARTSYS, the original system call will
368 #. later restart with the reused file descriptor. This is most likely a
369 #. serious programming error.
370 #. type: Plain text
371 #. #-#-#-#-# opensuse-tumbleweed: close.2.pot (PACKAGE VERSION) #-#-#-#-#
372 #. Date: Tue, 4 Sep 2007 13:57:35 +0200
373 #. From: Fredrik Noring <[email protected]>
374 #. One such race involves signals and ERESTARTSYS. If a file descriptor
375 #. in use by a system call is closed and then reused by, e.g., an
376 #. independent open() in some unrelated thread, before the original system
377 #. call has restarted after ERESTARTSYS, the original system call will
378 #. later restart with the reused file descriptor. This is most likely a
379 #. serious programming error.
380 #. type: Plain text
381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
383 msgid ""
384 "It is probably unwise to close file descriptors while they may be in use by "
385 "system calls in other threads in the same process. Since a file descriptor "
386 "may be reused, there are some obscure race conditions that may cause "
387 "unintended side effects."
388 msgstr ""
389 "Het is hoogstwaarschijnlijk niet slim om bestandsindicatoren te sluiten "
390 "terwijl ze in gebruik kunnen zijn door systeem aanroepen in andere threads "
391 "in hetzelfde proces. Omdat een bestandsindicator kan worden hergebruikt, "
392 "zijn er obscure looptijd condities die tot onbedoelde neven effecten kunnen "
393 "leiden."
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 ""
399 "Furthermore, consider the following scenario where two threads are "
400 "performing operations on the same file descriptor:"
401 msgstr ""
402 "Bovendien, overweeg het volgende scenario waar twee threads dezelfde "
403 "operaties op dezelfde bestandsindicator uitvoeren:"
404
405 #. type: IP
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 #, no-wrap
409 msgid "(1)"
410 msgstr "(1)"
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 ""
416 "One thread is blocked in an I/O system call on the file descriptor. For "
417 "example, it is trying to B<write>(2) to a pipe that is already full, or "
418 "trying to B<read>(2) from a stream socket which currently has no available "
419 "data."
420 msgstr ""
421 "Een thread wordt geblokkeerd door een Invoer/Uitvoer systeem aanroep op de "
422 "bestandsindicator. Bijvoorbeeld, hij probeert te B<write>(2) naar een pijp "
423 "die al vol is, of probeert te B<read>(2) van een stream socket die op dit "
424 "moment geen gegevens beschikbaar heeft."
425
426 #. type: IP
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 #, no-wrap
430 msgid "(2)"
431 msgstr "(2)"
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 "Another thread closes the file descriptor."
437 msgstr "Een andere thread sluit de bestandsindicator."
438
439 #. type: Plain text
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 msgid ""
443 "The behavior in this situation varies across systems. On some systems, when "
444 "the file descriptor is closed, the blocking system call returns immediately "
445 "with an error."
446 msgstr ""
447 "Het gedrag in deze situatie varieert over systemen. Op sommige systemen, zal "
448 "de blokkerende systeem aanroep onmiddellijk met een fout beëindigen zodra de "
449 "bestandsindicator is gesloten "
450
451 #. 'struct file' in kernel-speak
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 "On Linux (and possibly some other systems), the behavior is different: the "
457 "blocking I/O system call holds a reference to the underlying open file "
458 "description, and this reference keeps the description open until the I/O "
459 "system call completes. (See B<open>(2) for a discussion of open file "
460 "descriptions.) Thus, the blocking system call in the first thread may "
461 "successfully complete after the B<close>() in the second thread."
462 msgstr ""
463 "Op Linux (en mogelijk enkele andere systemen), is het gedrag anders: de "
464 "blokkerende Invoer/Uitvoer systeem aanroep houdt een referentie naar de "
465 "onderliggende bestandsindicator open, en deze referentie houdt de indicator "
466 "open totdat de Invoer/Uitvoer systeem aanroep eindigt. (Zie B<open>(2) voor "
467 "een discussie over open bestandsindicatoren.) Dus kan de blokkerende systeem "
468 "aanroep in de eerste thread succesvol eindigen na de B<close>() in de tweede "
469 "thread."
470
471 #. type: SS
472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
474 #, no-wrap
475 msgid "Dealing with error returns from close()"
476 msgstr "Omgaan met fout meldingen van close()"
477
478 #. type: Plain text
479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
481 msgid ""
482 "A careful programmer will check the return value of B<close>(), since it is "
483 "quite possible that errors on a previous B<write>(2) operation are reported "
484 "only on the final B<close>() that releases the open file description. "
485 "Failing to check the return value when closing a file may lead to I<silent> "
486 "loss of data. This can especially be observed with NFS and with disk quota."
487 msgstr ""
488 "Een zorgvuldige programmeur controleert de uitvoer waarde van B<close>(), "
489 "omdat het mogelijk is dat fouten van een vorige B<write>(2) operatie alleen "
490 "worden gerapporteerd bij de finale B<close>() die de open bestandsindicator "
491 "vrij geeft. Het niet controleren van de uitvoer waarde bij het sluiten van "
492 "een bestand kan leiden tot I<zwijgend> verlies van gegevens. Dit kan "
493 "speciaal optreden met NFS en met schijf quota."
494
495 #. type: Plain text
496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
497 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
498 msgid ""
499 "Note, however, that a failure return should be used only for diagnostic "
500 "purposes (i.e., a warning to the application that there may still be I/O "
501 "pending or there may have been failed I/O) or remedial purposes (e.g., "
502 "writing the file once more or creating a backup)."
503 msgstr ""
504 "Merk op, dat een fout uitvoer alleen gebruikt mag worden voor diagnose "
505 "(m.a.w. een waarschuwing aan de applicatie dat er nog een Invoer/Uitvoer "
506 "bezig kan zijn of dat er gefaalde Invoer/Uitvoer kan zijn) of gebruikt voor "
507 "reparaties (b.v. het opnieuw schrijven van een bestand of het maken van een "
508 "backup)."
509
510 #
511 #. The file descriptor is released early in close();
512 #. close() ==> __close_fd():
513 #. __put_unused_fd() ==> __clear_open_fd()
514 #. return filp_close(file, files);
515 #. The errors are returned by filp_close() after the FD has been
516 #. cleared for re-use.
517 #. filp_close()
518 #. type: Plain text
519 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
520 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
521 msgid ""
522 "Retrying the B<close>() after a failure return is the wrong thing to do, "
523 "since this may cause a reused file descriptor from another thread to be "
524 "closed. This can occur because the Linux kernel I<always> releases the file "
525 "descriptor early in the close operation, freeing it for reuse; the steps "
526 "that may return an error, such as flushing data to the filesystem or device, "
527 "occur only later in the close operation."
528 msgstr ""
529 "Opnieuw B<close>() proberen na terug melding van een fout is verkeerd om te "
530 "doen, omdat dat er voor kan zorgen dat een hergebruikte bestandsindicator "
531 "van een andere thread kan worden gesloten. Dit kan optreden doordat de Linux "
532 "kernel de bestandsindicator I<altijd> vroeg tijdens de close operatie los "
533 "laat, daarbij hem voor hergebruik beschikbaar maakt; de stappen die een fout "
534 "kunnen geven, zoals doorspoelen van data naar het bestandssysteem of "
535 "apparaat, treden alleen later tijdens de close operatie op. "
536
537 #. FreeBSD documents this explicitly. From the look of the source code
538 #. SVR4, ancient SunOS, later Solaris, and AIX all do this.
539 #. type: Plain text
540 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
541 #: opensuse-tumbleweed
542 #, fuzzy
543 #| msgid ""
544 #| "Many other implementations similarly always close the file descriptor "
545 #| "(except in the case of B<EBADF>, meaning that the file descriptor was "
546 #| "invalid) even if they subsequently report an error on return from "
547 #| "B<close>(). POSIX.1 is currently silent on this point, but there are "
548 #| "plans to mandate this behavior in the next major release of the standard."
549 msgid ""
550 "Many other implementations similarly always close the file descriptor "
551 "(except in the case of B<EBADF>, meaning that the file descriptor was "
552 "invalid) even if they subsequently report an error on return from "
553 "B<close>(). POSIX.1-2008 was silent on this point."
554 msgstr ""
555 "Veel andere implementatie sluiten de bestandsindicator ook op deze manier "
556 "(behalve in het geval van B<EBADF>, aangezien dit betekent dat de "
557 "bestandsindicator ongeldig was) zelfs als deze een vervolgens een fout "
558 "rapporteren bij terugkeer van B<close>(). POSIX.1 is momenteel stil op dit "
559 "punt, maar er bestaan plannen om dit gedrag te eisen in een volgende "
560 "belangrijke uitgave van de standaard."
561
562 #. type: Plain text
563 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
564 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
565 msgid ""
566 "A careful programmer who wants to know about I/O errors may precede "
567 "B<close>() with a call to B<fsync>(2)."
568 msgstr ""
569 "Een zorgvuldige programmeur die Invoer/Uitvoer fouten wil weten mag de "
570 "aanroep van B<close>() vooraf laten gaan met een aanroep van B<fsync>(2)."
571
572 #. type: Plain text
573 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
574 #: opensuse-tumbleweed
575 #, fuzzy
576 #| msgid ""
577 #| "The B<EINTR> error is a somewhat special case. Regarding the B<EINTR> "
578 #| "error, POSIX.1-2008 says:"
579 msgid ""
580 "The B<EINTR> error is a somewhat special case. Regarding the B<EINTR> "
581 "error, POSIX.1-2008 said:"
582 msgstr ""
583 "De B<EINTR> fout is een speciaal geval. Betreffende de B<EINTR> fout, zegt "
584 "POSIX.1-2008:"
585
586 #. type: Plain text
587 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
588 #: opensuse-tumbleweed
589 #, fuzzy
590 #| msgid ""
591 #| "If B<close>() is interrupted by a signal that is to be caught, it shall "
592 #| "return -1 with I<errno> set to B<EINTR> and the state of I<fildes> is "
593 #| "unspecified."
594 msgid ""
595 "If B<close>() is interrupted by a signal that is to be caught, it shall "
596 "return -1 with I<errno> set to B<EINTR> and the state of I<fd> is "
597 "unspecified."
598 msgstr ""
599 "Als B<close>() werd onderbroken door een signaal dat ontvangen moet worden, "
600 "dan moet het -1 teruggeven met I<errno> gezet op B<EINTR> en de status van "
601 "I<fildes> is niet gespecificeerd."
602
603 #
604 #. type: Plain text
605 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
606 #: opensuse-tumbleweed
607 #, fuzzy
608 #| msgid ""
609 #| "This permits the behavior that occurs on Linux and many other "
610 #| "implementations, where, as with other errors that may be reported by "
611 #| "B<close>(), the file descriptor is guaranteed to be closed. However, it "
612 #| "also permits another possibility: that the implementation returns an "
613 #| "B<EINTR> error and keeps the file descriptor open. (According to its "
614 #| "documentation, HP-UX's B<close>() does this.) The caller must then once "
615 #| "more use B<close>() to close the file descriptor, to avoid file "
616 #| "descriptor leaks. This divergence in implementation behaviors provides a "
617 #| "difficult hurdle for portable applications, since on many "
618 #| "implementations, B<close>() must not be called again after an B<EINTR> "
619 #| "error, and on at least one, B<close>() must be called again. There are "
620 #| "plans to address this conundrum for the next major release of the POSIX.1 "
621 #| "standard."
622 msgid ""
623 "This permits the behavior that occurs on Linux and many other "
624 "implementations, where, as with other errors that may be reported by "
625 "B<close>(), the file descriptor is guaranteed to be closed. However, it "
626 "also permits another possibility: that the implementation returns an "
627 "B<EINTR> error and keeps the file descriptor open. (According to its "
628 "documentation, HP-UX's B<close>() does this.) The caller must then once "
629 "more use B<close>() to close the file descriptor, to avoid file descriptor "
630 "leaks. This divergence in implementation behaviors provides a difficult "
631 "hurdle for portable applications, since on many implementations, B<close>() "
632 "must not be called again after an B<EINTR> error, and on at least one, "
633 "B<close>() must be called again."
634 msgstr ""
635 "Dit staat het gedrag toe dat optreedt in Linux en veel andere implementaties "
636 "waar, zoals bij andere fouten die kunnen worden gerapporteerd door "
637 "B<close>(), de bestandsindicator gegarandeerd wordt gesloten. Hoewel het ook "
638 "een andere mogelijkheid opent: dat de implementatie een B<EINTR> fout terug "
639 "geeft en de bestandsindicator open houdt. (Volgens de documentatie doet de "
640 "HP-UX B<close>() implementatie dit.) De aanroeper dient nog een keer "
641 "B<close>() gebruiken om de bestandsindicator te sluiten, om lekken van "
642 "bestandsindicatoren te voorkomen. Deze verschillen in implementatie gedrag "
643 "betekenen een moeilijkheid voor overdraagbare applicaties, omdat in veel "
644 "implementaties B<close>() niet nogmaals hoeft te worden aangeroepen na een "
645 "B<EINTR> fout, en op zijn minst op een moet B<close>() nog een keer "
646 "aangeroepen worden. Er bestaan plannen om dit raadsel aan te pakken in een "
647 "volgende belangrijke uitgave van de POSIX.1 standaard. "
648
649 #. type: Plain text
650 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
651 #: opensuse-tumbleweed
652 msgid ""
653 "POSIX.1-2024 standardized the behavior of HP-UX, making Linux and many other "
654 "implementations non-conforming. There are no plans to change the behavior "
655 "on Linux."
656 msgstr ""
657
658 #. type: SH
659 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
660 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
661 #, no-wrap
662 msgid "SEE ALSO"
663 msgstr "ZIE OOK"
664
665 #. type: Plain text
666 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
667 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
668 msgid ""
669 "B<close_range>(2), B<fcntl>(2), B<fsync>(2), B<open>(2), B<shutdown>(2), "
670 "B<unlink>(2), B<fclose>(3)"
671 msgstr ""
672 "B<close_range>(2), B<fcntl>(2), B<fsync>(2), B<open>(2), B<shutdown>(2), "
673 "B<unlink>(2), B<fclose>(3)"
674
675 #. type: TH
676 #: debian-trixie
677 #, no-wrap
678 msgid "2024-05-02"
679 msgstr "2 mei 2024"
680
681 #. type: TH
682 #: debian-trixie
683 #, no-wrap
684 msgid "Linux man-pages 6.9.1"
685 msgstr "Linux man-paginas 6.9.1"
686
687 #. type: Plain text
688 #: debian-trixie
689 msgid "Standard C library (I<libc>, I<-lc>)"
690 msgstr "Standaard C bibliotheek (I<libc>, I<-lc>)"
691
692 #. type: Plain text
693 #: debian-trixie fedora-44 fedora-rawhide
694 msgid ""
695 "See NOTES for a discussion of why B<close>() should not be retried after an "
696 "error."
697 msgstr ""
698 "Zie OPMERKINGEN voor een discussie over waarom B<close>() niet opnieuw "
699 "geprobeerd moet worden na een fout."
700
701 #. SVr4 documents an additional ENOLINK error condition.
702 #. type: Plain text
703 #: debian-trixie fedora-44 fedora-rawhide
704 msgid "POSIX.1-2001, SVr4, 4.3BSD."
705 msgstr "POSIX.1-2001, SVr4, 4.3BSD."
706
707 #. FreeBSD documents this explicitly. From the look of the source code
708 #. SVR4, ancient SunOS, later Solaris, and AIX all do this.
709 #. Issue 8
710 #. type: Plain text
711 #: debian-trixie fedora-44 fedora-rawhide
712 msgid ""
713 "Many other implementations similarly always close the file descriptor "
714 "(except in the case of B<EBADF>, meaning that the file descriptor was "
715 "invalid) even if they subsequently report an error on return from "
716 "B<close>(). POSIX.1 is currently silent on this point, but there are plans "
717 "to mandate this behavior in the next major release of the standard."
718 msgstr ""
719 "Veel andere implementatie sluiten de bestandsindicator ook op deze manier "
720 "(behalve in het geval van B<EBADF>, aangezien dit betekent dat de "
721 "bestandsindicator ongeldig was) zelfs als deze een vervolgens een fout "
722 "rapporteren bij terugkeer van B<close>(). POSIX.1 is momenteel stil op dit "
723 "punt, maar er bestaan plannen om dit gedrag te eisen in een volgende "
724 "belangrijke uitgave van de standaard."
725
726 #. type: Plain text
727 #: debian-trixie fedora-44 fedora-rawhide
728 msgid ""
729 "The B<EINTR> error is a somewhat special case. Regarding the B<EINTR> "
730 "error, POSIX.1-2008 says:"
731 msgstr ""
732 "De B<EINTR> fout is een speciaal geval. Betreffende de B<EINTR> fout, zegt "
733 "POSIX.1-2008:"
734
735 #. type: Plain text
736 #: debian-trixie fedora-44 fedora-rawhide
737 msgid ""
738 "If B<close>() is interrupted by a signal that is to be caught, it shall "
739 "return -1 with I<errno> set to B<EINTR> and the state of I<fildes> is "
740 "unspecified."
741 msgstr ""
742 "Als B<close>() werd onderbroken door een signaal dat ontvangen moet worden, "
743 "dan moet het -1 teruggeven met I<errno> gezet op B<EINTR> en de status van "
744 "I<fildes> is niet gespecificeerd."
745
746 #
747 #. FIXME . for later review when Issue 8 is one day released...
748 #. POSIX proposes further changes for EINTR
749 #. http://austingroupbugs.net/tag_view_page.php?tag_id=8
750 #. http://austingroupbugs.net/view.php?id=529
751 #. FIXME .
752 #. Review the following glibc bug later
753 #. https://sourceware.org/bugzilla/show_bug.cgi?id=14627
754 #. type: Plain text
755 #: debian-trixie fedora-44 fedora-rawhide
756 msgid ""
757 "This permits the behavior that occurs on Linux and many other "
758 "implementations, where, as with other errors that may be reported by "
759 "B<close>(), the file descriptor is guaranteed to be closed. However, it "
760 "also permits another possibility: that the implementation returns an "
761 "B<EINTR> error and keeps the file descriptor open. (According to its "
762 "documentation, HP-UX's B<close>() does this.) The caller must then once "
763 "more use B<close>() to close the file descriptor, to avoid file descriptor "
764 "leaks. This divergence in implementation behaviors provides a difficult "
765 "hurdle for portable applications, since on many implementations, B<close>() "
766 "must not be called again after an B<EINTR> error, and on at least one, "
767 "B<close>() must be called again. There are plans to address this conundrum "
768 "for the next major release of the POSIX.1 standard."
769 msgstr ""
770 "Dit staat het gedrag toe dat optreedt in Linux en veel andere implementaties "
771 "waar, zoals bij andere fouten die kunnen worden gerapporteerd door "
772 "B<close>(), de bestandsindicator gegarandeerd wordt gesloten. Hoewel het ook "
773 "een andere mogelijkheid opent: dat de implementatie een B<EINTR> fout terug "
774 "geeft en de bestandsindicator open houdt. (Volgens de documentatie doet de "
775 "HP-UX B<close>() implementatie dit.) De aanroeper dient nog een keer "
776 "B<close>() gebruiken om de bestandsindicator te sluiten, om lekken van "
777 "bestandsindicatoren te voorkomen. Deze verschillen in implementatie gedrag "
778 "betekenen een moeilijkheid voor overdraagbare applicaties, omdat in veel "
779 "implementaties B<close>() niet nogmaals hoeft te worden aangeroepen na een "
780 "B<EINTR> fout, en op zijn minst op een moet B<close>() nog een keer "
781 "aangeroepen worden. Er bestaan plannen om dit raadsel aan te pakken in een "
782 "volgende belangrijke uitgave van de POSIX.1 standaard. "
783
784 #. type: TH
785 #: fedora-44 fedora-rawhide
786 #, no-wrap
787 msgid "2024-07-23"
788 msgstr "23 juli 2024"
789
790 #. type: TH
791 #: fedora-44 fedora-rawhide
792 #, no-wrap
793 msgid "Linux man-pages 6.13"
794 msgstr "Linux man-paginas 6.13"
795
796 #. Date: Tue, 4 Sep 2007 13:57:35 +0200
797 #. From: Fredrik Noring <[email protected]>
798 #. One such race involves signals and ERESTARTSYS. If a file descriptor
799 #. in use by a system call is closed and then reused by e.g. an
800 #. independent open() in some unrelated thread, before the original system
801 #. call has restarted after ERESTARTSYS, the original system call will
802 #. later restart with the reused file descriptor. This is most likely a
803 #. serious programming error.
804 #. type: Plain text
805 #: fedora-44 fedora-rawhide
806 msgid ""
807 "When dealing with sockets, you have to be sure that there is no B<recv>(2) "
808 "still blocking on it on another thread, otherwise it might block forever, "
809 "since no more messages will be send via the socket. Be sure to use "
810 "B<shutdown>(2) to shut down all parts the connection before closing the "
811 "socket."
812 msgstr ""
813 "Bij de omgang met sockets dient u er zeker van te zijn dat er geen "
814 "B<recv>(2) is die geblokkeerd wordt in een andere thread, anders zou deze "
815 "voor altijd kunnen blokkeren, omdat er dan geen berichten via deze socket "
816 "verstuurd kunnen worden. Zorg er voor om B<shutdown>(2) te gebruiken om alle "
817 "delen van de verbinding te sluiten voordat de socket gesloten wordt."
818
819 #. type: TH
820 #: mageia-cauldron
821 #, no-wrap
822 msgid "Linux man-pages 6.17"
823 msgstr "Linux man-paginas 6.17"
824
825 #. type: TH
826 #: opensuse-leap-16-1 opensuse-tumbleweed
827 #, no-wrap
828 msgid "Linux man-pages (unreleased)"
829 msgstr "Linux man-paginas (niet vrijgegeven)"