Debian Codegraph @

po/nl/man2/pipe.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.
6 # Luc Castermans <[email protected]>, 2021-2023, 2024, 2025.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n 2.15\n"
10 "POT-Creation-Date: 2026-06-05 06:35+0200\n"
11 "PO-Revision-Date: 2025-04-21 10:05+0200\n"
12 "Last-Translator: Luc Castermans <[email protected]>\n"
13 "Language-Team: Dutch <[email protected]>\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 24.12.0\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 "pipe"
26 msgstr "pipe"
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 "pipe, pipe2 - create pipe"
53 msgstr "pipe, pipe2 - maak pipe"
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 pipe(int >I<pipefd>B<[2]);>\n"
87 msgstr "B<int pipe(int >I<pipefd>B<[2]);>\n"
88
89 #. type: Plain text
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 #, no-wrap
93 msgid ""
94 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
95 "B<#include E<lt>fcntl.hE<gt>> /* Definition of B<O_*> constants */\n"
96 "B<#include E<lt>unistd.hE<gt>>\n"
97 msgstr ""
98 "B<#define _GNU_SOURCE> /* Zie feature_test_macros(7) */\n"
99 "B<#include E<lt>fcntl.hE<gt>> /* Definitie van B<O_*> constanten */\n"
100 "B<#include E<lt>unistd.hE<gt>>\n"
101
102 #. type: Plain text
103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
105 #, no-wrap
106 msgid "B<int pipe2(int >I<pipefd>B<[2], int >I<flags>B<);>\n"
107 msgstr "B<int pipe2(int >I<pipe_bes_ind>B<[2], int >I<vlaggen>B<);>\n"
108
109 #. type: Plain text
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 #, no-wrap
113 msgid ""
114 "/* On Alpha, IA-64, MIPS, SuperH, and SPARC/SPARC64, pipe() has the\n"
115 " following prototype; see VERSIONS */\n"
116 msgstr ""
117 "/* Op Alpha, IA-64, MIPS, SuperH en SPARC/SPARC64, heeft pipe() het \n"
118 " volgende prototype; zie NOTITIES */\n"
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 #, no-wrap
124 msgid ""
125 "B<struct fd_pair {>\n"
126 "B<long fd[2];>\n"
127 "B<};>\n"
128 "B<struct fd_pair pipe(void);>\n"
129 msgstr ""
130 "B<struct fd_pair {>\n"
131 "B<long fd[2];>\n"
132 "B<};>\n"
133 "B<struct fd_pair pipe(void);>\n"
134
135 #. type: SH
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 #, no-wrap
139 msgid "DESCRIPTION"
140 msgstr "BESCHRIJVING"
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 msgid ""
146 "B<pipe>() creates a pipe, a unidirectional data channel that can be used "
147 "for interprocess communication. The array I<pipefd> is used to return two "
148 "file descriptors referring to the ends of the pipe. I<pipefd[0]> refers to "
149 "the read end of the pipe. I<pipefd[1]> refers to the write end of the "
150 "pipe. Data written to the write end of the pipe is buffered by the kernel "
151 "until it is read from the read end of the pipe. For further details, see "
152 "B<pipe>(7)."
153 msgstr ""
154 "B<pipe>() maakt een pijp aan: een uni-directioneel data kanaal dat kan "
155 "worden gebruikt voor interprocess communicatie. Het array I<pipefd> wordt "
156 "gebruikt om twee bestandsbeschrijving te retourneren die naar de uiteinden "
157 "van de pijp wijzen. I<pipefd[0]> wijst naar het lees-uiteinde van de pijp. "
158 "I<pipefd[1]> wijst naar het schrijf-uiteinde van de pijp. Data geschreven "
159 "naar het schrijf-uiteinde van de pijp wordt gebufferd door de kernel totdat "
160 "deze werd gelezen aan het lees-uiteinde van de pijp. Voor verder details, "
161 "zieB<pipe>(7)."
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 ""
167 "If I<flags> is 0, then B<pipe2>() is the same as B<pipe>(). The following "
168 "values can be bitwise ORed in I<flags> to obtain different behavior:"
169 msgstr ""
170 "Als I<vlaggen> is 0, dan is B<pipe2>() hetzelfde als B<pipe>(). De "
171 "volgende waarden kunnen per bit worden geOF´ed in I<vlaggen> om ander gedrag "
172 "te verkrijgen:"
173
174 #. type: TP
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 #, no-wrap
178 msgid "B<O_CLOEXEC>"
179 msgstr "B<O_CLOEXEC>"
180
181 #. type: Plain text
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 msgid ""
185 "Set the close-on-exec (B<FD_CLOEXEC>) flag on the two new file "
186 "descriptors. See the description of the same flag in B<open>(2) for "
187 "reasons why this may be useful."
188 msgstr ""
189 "Zet de sluit-bij-exec (B<FD_CLOEXEC>) vlag op twee nieuwe "
190 "bestandsbeschrijvingen. Zie de beschrijving van dezelfde vlag in "
191 "B<open>(2) voor redenen waarom dit bruikbaar kan zijn."
192
193 #. type: TP
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 #, no-wrap
197 msgid "B<O_DIRECT> (since Linux 3.4)"
198 msgstr "B<O_DIRECT> (sinds Linux 3.4)"
199
200 #. commit 9883035ae7edef3ec62ad215611cb8e17d6a1a5d
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "Create a pipe that performs I/O in \"packet\" mode. Each B<write>(2) to "
206 "the pipe is dealt with as a separate packet, and B<read>(2)s from the pipe "
207 "will read one packet at a time. Note the following points:"
208 msgstr ""
209 "Maak een pijp aan die Invoer/Uitvoer in pakket modus uitvoert. Elke "
210 "B<write>(2) naar de pijp wordt behandeld als een apart pakket, en "
211 "B<read>(2)s van deze pijp leest een pakket per tijdseenheid. Let op de "
212 "volgende punten:"
213
214 #. type: IP
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 #, no-wrap
218 msgid "\\[bu]"
219 msgstr "\\[bu]"
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 ""
225 "Writes of greater than B<PIPE_BUF> bytes (see B<pipe>(7)) will be split "
226 "into multiple packets. The constant B<PIPE_BUF> is defined in "
227 "I<E<lt>limits.hE<gt>>."
228 msgstr ""
229 "Het schrijven van meer dan B<PIPE_BUF> bytes (zie B<pipe>(7) wordt gesplitst "
230 "in meerdere pakketten. De constante B<PIPE_BUF> is gedefinieerd in "
231 "I<E<lt>limits.hE<gt>>."
232
233 #. type: Plain text
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 msgid ""
237 "If a B<read>(2) specifies a buffer size that is smaller than the next "
238 "packet, then the requested number of bytes are read, and the excess bytes in "
239 "the packet are discarded. Specifying a buffer size of B<PIPE_BUF> will be "
240 "sufficient to read the largest possible packets (see the previous point)."
241 msgstr ""
242 "Als B<read>(2) een buffer grootte opgeeft die kleiner is dan het volgende "
243 "pakket, dan zal het gevraagde aantal bytes worden gelezen, en zullen de "
244 "overmaat aan bytes in het pakket worden weggegooid. Opgeven van een buffer "
245 "grootte van B<PIPE_BUF> is voldoende om de grootst mogelijke pakketten te "
246 "lezen (zie het voorgaande punt)."
247
248 #. type: Plain text
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 msgid ""
252 "Zero-length packets are not supported. (A B<read>(2) that specifies a "
253 "buffer size of zero is a no-op, and returns 0.)"
254 msgstr ""
255 "Nul-lengte pakketten worden niet ondersteund. (Een B<read>(2) die een buffer "
256 "grootte van nul opgeeft is een ongeldige operatie en geeft 0 terug.)"
257
258 #. type: Plain text
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 msgid ""
262 "Older kernels that do not support this flag will indicate this via an "
263 "B<EINVAL> error."
264 msgstr ""
265 "Oudere kernels die deze vlag niet ondersteunen zullen dit kenbaar maken door "
266 "middel van een B<EINVAL> fout."
267
268 #. commit 0dbf5f20652108106cb822ad7662c786baaa03ff
269 #. FIXME . But, it is not possible to specify O_DIRECT when opening a FIFO
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 msgid ""
274 "Since Linux 4.5, it is possible to change the B<O_DIRECT> setting of a pipe "
275 "file descriptor using B<fcntl>(2)."
276 msgstr ""
277 "Vanaf Linux 4.5 is het mogelijk om de B<O_DIRECT> instelling van een pijp "
278 "bestandsbeschrijving te veranderen met B<fcntl>(2)."
279
280 #. type: TP
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 #, no-wrap
284 msgid "B<O_NONBLOCK>"
285 msgstr "B<O_NONBLOCK>"
286
287 #. type: Plain text
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 msgid ""
291 "Set the B<O_NONBLOCK> file status flag on the open file descriptions "
292 "referred to by the new file descriptors. Using this flag saves extra calls "
293 "to B<fcntl>(2) to achieve the same result."
294 msgstr ""
295 "Stel de B<O_NONBLOCK> bestandsstatus vlag in op de open bestandsbeschrijving "
296 "aangewezen naar door een nieuwe bestandsbeschrijving. Het gebruiken van deze "
297 "vlag bespaart extra aanroepen van B<fcntl>(2) om hetzelfde resultaat te "
298 "bereiken. "
299
300 #. type: TP
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 #, no-wrap
304 msgid "B<O_NOTIFICATION_PIPE>"
305 msgstr "B<O_NOTIFICATION_PIPE>"
306
307 #. commit c73be61cede5882f9605a852414db559c0ebedfd
308 #. type: Plain text
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 msgid ""
312 "Since Linux 5.8, general notification mechanism is built on the top of the "
313 "pipe where kernel splices notification messages into pipes opened by user "
314 "space. The owner of the pipe has to tell the kernel which sources of events "
315 "to watch and filters can also be applied to select which subevents should be "
316 "placed into the pipe."
317 msgstr ""
318 "Vanaf Linux 5.8 is het algemene informatie mechanisme gebouwd bovenop de "
319 "pipe waar de kernel informatie berichten splitst in pipes die worden geopend "
320 "in gebruikers ruimte. De eigenaar van de pipe dient de kernel te vertellen "
321 "welke bronnen van gebeurtenissen worden geobserveerd en filters kunnen "
322 "worden toegepast om te selecteren welke sub-gebeurtenissen moeten worden "
323 "geplaatst in de pipe."
324
325 #. type: SH
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 #, no-wrap
329 msgid "RETURN VALUE"
330 msgstr "EIND WAARDE"
331
332 #. type: Plain text
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 msgid ""
336 "On success, zero is returned. On error, -1 is returned, I<errno> is set to "
337 "indicate the error, and I<pipefd> is left unchanged."
338 msgstr ""
339 "Bij succes wordt nul teruggegeven. Bij falen wordt -1 teruggegeven, wordt "
340 "I<errno> overeenkomstig gezet, en I<pipefd> blijft ongewijzigd."
341
342 #. http://austingroupbugs.net/view.php?id=467
343 #. type: Plain text
344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
346 msgid ""
347 "On Linux (and other systems), B<pipe>() does not modify I<pipefd> on "
348 "failure. A requirement standardizing this behavior was added in "
349 "POSIX.1-2008 TC2. The Linux-specific B<pipe2>() system call likewise does "
350 "not modify I<pipefd> on failure."
351 msgstr ""
352 "Op Linux (en andere systemen), verandert B<pipe>() de I<pipefd> niet na een "
353 "fout. Een eis om dit gedrag te standaardiseren werd toegevoegd in "
354 "POSIX.1-2008 TC2. De Linux-specifieke B<pipe2>() systeem aanroep doet "
355 "hetzelfde en verandert I<pipefd> niet bij een fout."
356
357 #. type: SH
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 #, no-wrap
361 msgid "ERRORS"
362 msgstr "FOUTEN"
363
364 #. type: TP
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 #, no-wrap
368 msgid "B<EFAULT>"
369 msgstr "B<EFAULT>"
370
371 #. type: Plain text
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 msgid "I<pipefd> is not valid."
375 msgstr "I<pipe_bes_ind> is ongeldig."
376
377 #. type: TP
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 #, no-wrap
381 msgid "B<EINVAL>"
382 msgstr "B<EINVAL>"
383
384 #. type: Plain text
385 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
386 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
387 msgid "(B<pipe2>()) Invalid value in I<flags>."
388 msgstr "(B<pipe2>()) Ongeldige waarde in I<vlaggen>."
389
390 #. type: TP
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 #, no-wrap
394 msgid "B<EMFILE>"
395 msgstr "B<EMFILE>"
396
397 #. type: Plain text
398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
400 msgid ""
401 "The per-process limit on the number of open file descriptors has been "
402 "reached."
403 msgstr ""
404 "De per-proces limiet van het aantal open bestandsbeschrijvingen werd bereikt."
405
406 #. type: TP
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 #, no-wrap
410 msgid "B<ENFILE>"
411 msgstr "B<ENFILE>"
412
413 #. type: Plain text
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 msgid ""
417 "The system-wide limit on the total number of open files has been reached."
418 msgstr "De grens aan het aantal open bestanden van het systeem is bereikt."
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 ""
424 "The user hard limit on memory that can be allocated for pipes has been "
425 "reached and the caller is not privileged; see B<pipe>(7)."
426 msgstr ""
427 "De harde grens van gebruikers geheugen dat kan worden toegewezen aan pijpen "
428 "werd bereikt en de aanroeper was niet gerechtigd; zie B<pipe>(7)."
429
430 #. type: TP
431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
432 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
433 #, no-wrap
434 msgid "B<ENOPKG>"
435 msgstr "B<ENOPKG>"
436
437 #. type: Plain text
438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
440 msgid ""
441 "(B<pipe2>()) B<O_NOTIFICATION_PIPE> was passed in I<flags> and support for "
442 "notifications (B<CONFIG_WATCH_QUEUE>) is not compiled into the kernel."
443 msgstr ""
444 "(B<pipe2>()) B<O_NOTIFICATION_PIPE> werd doorgegeven in I<flags> en "
445 "ondersteuning voor informaties (B<CONFIG_WATCH_QUEUE>) is niet gecompileerd "
446 "in de kernel."
447
448 #. type: SH
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 #, no-wrap
452 msgid "VERSIONS"
453 msgstr "VERSIES"
454
455 #. See http://math-atlas.sourceforge.net/devel/assembly/64.psabi.1.33.ps.Z
456 #. for example, section 3.2.1 "Registers and the Stack Frame".
457 #. type: Plain text
458 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
459 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
460 msgid ""
461 "The System V ABI on some architectures allows the use of more than one "
462 "register for returning multiple values; several architectures (namely, "
463 "Alpha, IA-64, MIPS, SuperH, and SPARC/SPARC64) (ab)use this feature in "
464 "order to implement the B<pipe>() system call in a functional manner: the "
465 "call doesn't take any arguments and returns a pair of file descriptors as "
466 "the return value on success. The glibc B<pipe>() wrapper function "
467 "transparently deals with this. See B<syscall>(2) for information regarding "
468 "registers used for storing second file descriptor."
469 msgstr ""
470 "De Systeem V ABI op sommige architecturen staat toe om meer dan een register "
471 "te gebruiken om meerdere waarden terug te geven; verschillende "
472 "architecturen \n"
473 "(namelijk Alpha, IA-64, MIPS, SuperH en SPARC/SPARC64) (mis)/(ge)bruiken "
474 "deze eigenschap om de B<pipe>() systeem aanroep in een functionele manier te "
475 "implementeren: de aanroep gebruikt geen argumenten en geeft een paar "
476 "bestandsbeschrijvingen terug bij succes. De glibc B<pipe>() omwikkel functie "
477 "handelt dit transparant af. Zie B<syscall>(2) voor informatie betreffende "
478 "registers die gebruikt worden om de tweede bestandsbeschrijving op te slaan."
479
480 #. type: SH
481 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
482 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
483 #, no-wrap
484 msgid "STANDARDS"
485 msgstr "STANDAARDEN"
486
487 #. type: Plain text
488 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
489 #: opensuse-tumbleweed
490 msgid "POSIX.1-2024."
491 msgstr "POSIX.1-2024."
492
493 #. type: SH
494 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
495 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
496 #, no-wrap
497 msgid "HISTORY"
498 msgstr "HISTORIE"
499
500 #. type: TP
501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
503 #, no-wrap
504 msgid "B<pipe>()"
505 msgstr "B<pipe>()"
506
507 #. type: Plain text
508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
510 msgid "POSIX.1-2001."
511 msgstr "POSIX.1-2001."
512
513 #. type: TP
514 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
515 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
516 #, no-wrap
517 msgid "B<pipe2>()"
518 msgstr "B<pipe2>()"
519
520 #. type: Plain text
521 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
522 #: opensuse-tumbleweed
523 #, fuzzy
524 #| msgid "POSIX.1-2008. Linux 2.6.16, glibc 2.4."
525 msgid "POSIX.1-2024. Linux 2.6.27, glibc 2.9."
526 msgstr "POSIX.1-2008. Linux 2.6.16, glibc 2.4."
527
528 #. type: SH
529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
531 #, no-wrap
532 msgid "EXAMPLES"
533 msgstr "VOORBEELDEN"
534
535 #. fork.2 refers to this example program.
536 #. type: Plain text
537 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
538 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
539 msgid ""
540 "The following program creates a pipe, and then B<fork>(2)s to create a child "
541 "process; the child inherits a duplicate set of file descriptors that refer "
542 "to the same pipe. After the B<fork>(2), each process closes the file "
543 "descriptors that it doesn't need for the pipe (see B<pipe>(7)). The parent "
544 "then writes the string contained in the program's command-line argument to "
545 "the pipe, and the child reads this string a byte at a time from the pipe and "
546 "echoes it on standard output."
547 msgstr ""
548 "Het volgende programma maakt een pijp aan, vervolgens wordt B<fork>(2) "
549 "gebruikt om een kind proces aan te maken; dit kind erft een dubbele set "
550 "bestandsbeschrijvingen die naar dezelfde pijp wijzen. Na de B<fork>(2) sluit "
551 "elk proces de bestandsbeschrijving die het niet nodig heeft voor de pijp "
552 "(zie B<pipe>(7)). Het ouder proces schrijft vervolgens de tekenreeks bevat "
553 "in de commando regel van het programma naar de pijp, en het kind leest deze "
554 "tekenreeks byte voor byte van de pijp en echo´ed deze naar de standaard "
555 "uitvoer. "
556
557 #. type: SS
558 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
559 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
560 #, no-wrap
561 msgid "Program source"
562 msgstr "Programma bron"
563
564 #. type: Plain text
565 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
566 #: opensuse-leap-16-1 opensuse-tumbleweed
567 #, no-wrap
568 msgid ""
569 "#include E<lt>err.hE<gt>\n"
570 "#include E<lt>stdio.hE<gt>\n"
571 "#include E<lt>stdlib.hE<gt>\n"
572 "#include E<lt>string.hE<gt>\n"
573 "#include E<lt>sys/types.hE<gt>\n"
574 "#include E<lt>sys/wait.hE<gt>\n"
575 "#include E<lt>unistd.hE<gt>\n"
576 "\\&\n"
577 "int\n"
578 "main(int argc, char *argv[])\n"
579 "{\n"
580 " int pipefd[2];\n"
581 " char buf;\n"
582 " pid_t cpid;\n"
583 "\\&\n"
584 " if (argc != 2) {\n"
585 " fprintf(stderr, \"Usage: %s E<lt>stringE<gt>\\[rs]n\", argv[0]);\n"
586 " exit(EXIT_FAILURE);\n"
587 " }\n"
588 "\\&\n"
589 " if (pipe(pipefd) == -1)\n"
590 " err(EXIT_FAILURE, \"pipe\");\n"
591 "\\&\n"
592 " cpid = fork();\n"
593 " if (cpid == -1)\n"
594 " err(EXIT_FAILURE, \"fork\");\n"
595 "\\&\n"
596 " if (cpid == 0) { /* Child reads from pipe */\n"
597 " if (close(pipefd[1]) == -1) /* Close unused write end */\n"
598 " err(EXIT_FAILURE, \"close\");\n"
599 "\\&\n"
600 " while (read(pipefd[0], &buf, 1) E<gt> 0) {\n"
601 " if (write(STDOUT_FILENO, &buf, 1) != 1)\n"
602 " err(EXIT_FAILURE, \"write\");\n"
603 " }\n"
604 "\\&\n"
605 " if (write(STDOUT_FILENO, \"\\[rs]n\", 1) != 1)\n"
606 " err(EXIT_FAILURE, \"write\");\n"
607 " if (close(pipefd[0]) == -1)\n"
608 " err(EXIT_FAILURE, \"close\");\n"
609 " _exit(EXIT_SUCCESS);\n"
610 "\\&\n"
611 " } else { /* Parent writes argv[1] to pipe */\n"
612 " if (close(pipefd[0]) == -1) /* Close unused read end */\n"
613 " err(EXIT_FAILURE, \"close\");\n"
614 " if (write(pipefd[1], argv[1], strlen(argv[1])) != strlen(argv[1]))\n"
615 " err(EXIT_FAILURE, \"write\");\n"
616 " if (close(pipefd[1]) == -1) /* Reader will see EOF */\n"
617 " err(EXIT_FAILURE, \"close\");\n"
618 " if (wait(NULL) == -1) /* Wait for child */\n"
619 " err(EXIT_FAILURE, \"wait\");\n"
620 " exit(EXIT_SUCCESS);\n"
621 " }\n"
622 "}\n"
623 msgstr ""
624 "#include E<lt>err.hE<gt>\n"
625 "#include E<lt>stdio.hE<gt>\n"
626 "#include E<lt>stdlib.hE<gt>\n"
627 "#include E<lt>string.hE<gt>\n"
628 "#include E<lt>sys/types.hE<gt>\n"
629 "#include E<lt>sys/wait.hE<gt>\n"
630 "#include E<lt>unistd.hE<gt>\n"
631 "\\&\n"
632 "int\n"
633 "main(int argc, char *argv[])\n"
634 "{\n"
635 " int pipefd[2];\n"
636 " char buf;\n"
637 " pid_t cpid;\n"
638 "\\&\n"
639 " if (argc != 2) {\n"
640 " fprintf(stderr, \"Usage: %s E<lt>stringE<gt>\\[rs]n\", argv[0]);\n"
641 " exit(EXIT_FAILURE);\n"
642 " }\n"
643 "\\&\n"
644 " if (pipe(pipefd) == -1)\n"
645 " err(EXIT_FAILURE, \"pipe\");\n"
646 "\\&\n"
647 " cpid = fork();\n"
648 " if (cpid == -1)\n"
649 " err(EXIT_FAILURE, \"fork\");\n"
650 "\\&\n"
651 " if (cpid == 0) { /* Child reads from pipe */\n"
652 " if (close(pipefd[1]) == -1) /* Close unused write end */\n"
653 " err(EXIT_FAILURE, \"close\");\n"
654 "\\&\n"
655 " while (read(pipefd[0], &buf, 1) E<gt> 0) {\n"
656 " if (write(STDOUT_FILENO, &buf, 1) != 1)\n"
657 " err(EXIT_FAILURE, \"write\");\n"
658 " }\n"
659 "\\&\n"
660 " if (write(STDOUT_FILENO, \"\\[rs]n\", 1) != 1)\n"
661 " err(EXIT_FAILURE, \"write\");\n"
662 " if (close(pipefd[0]) == -1)\n"
663 " err(EXIT_FAILURE, \"close\");\n"
664 " _exit(EXIT_SUCCESS);\n"
665 "\\&\n"
666 " } else { /* Parent writes argv[1] to pipe */\n"
667 " if (close(pipefd[0]) == -1) /* Close unused read end */\n"
668 " err(EXIT_FAILURE, \"close\");\n"
669 " if (write(pipefd[1], argv[1], strlen(argv[1])) != strlen(argv[1]))\n"
670 " err(EXIT_FAILURE, \"write\");\n"
671 " if (close(pipefd[1]) == -1) /* Reader will see EOF */\n"
672 " err(EXIT_FAILURE, \"close\");\n"
673 " if (wait(NULL) == -1) /* Wait for child */\n"
674 " err(EXIT_FAILURE, \"wait\");\n"
675 " exit(EXIT_SUCCESS);\n"
676 " }\n"
677 "}\n"
678
679 #. SRC END
680 #. type: SH
681 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
682 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
683 #, no-wrap
684 msgid "SEE ALSO"
685 msgstr "ZIE OOK"
686
687 #. type: Plain text
688 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
689 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
690 msgid ""
691 "B<fork>(2), B<read>(2), B<socketpair>(2), B<splice>(2), B<tee>(2), "
692 "B<vmsplice>(2), B<write>(2), B<popen>(3), B<pipe>(7)"
693 msgstr ""
694 "B<fork>(2), B<read>(2), B<socketpair>(2), B<splice>(2), B<tee>(2), "
695 "B<vmsplice>(2), B<write>(2), B<popen>(3), B<pipe>(7)"
696
697 #. type: TH
698 #: debian-trixie
699 #, no-wrap
700 msgid "2024-06-15"
701 msgstr "15 juni 2024"
702
703 #. type: TH
704 #: debian-trixie
705 #, no-wrap
706 msgid "Linux man-pages 6.9.1"
707 msgstr "Linux man-paginas 6.9.1"
708
709 #. type: Plain text
710 #: debian-trixie
711 msgid "Standard C library (I<libc>, I<-lc>)"
712 msgstr "Standaard C bibliotheek (I<libc>, I<-lc>)"
713
714 #. type: Plain text
715 #: debian-trixie fedora-44 fedora-rawhide
716 msgid "POSIX.1-2008."
717 msgstr "POSIX.1-2008."
718
719 #. type: Plain text
720 #: debian-trixie fedora-44 fedora-rawhide
721 msgid "Linux."
722 msgstr "Linux."
723
724 #. type: Plain text
725 #: debian-trixie fedora-44 fedora-rawhide
726 msgid "Linux 2.6.27, glibc 2.9."
727 msgstr "Linux 2.6.27, glibc 2.9."
728
729 #. type: Plain text
730 #: debian-trixie
731 #, no-wrap
732 msgid ""
733 "#include E<lt>stdio.hE<gt>\n"
734 "#include E<lt>stdlib.hE<gt>\n"
735 "#include E<lt>string.hE<gt>\n"
736 "#include E<lt>sys/types.hE<gt>\n"
737 "#include E<lt>sys/wait.hE<gt>\n"
738 "#include E<lt>unistd.hE<gt>\n"
739 "\\&\n"
740 "int\n"
741 "main(int argc, char *argv[])\n"
742 "{\n"
743 " int pipefd[2];\n"
744 " char buf;\n"
745 " pid_t cpid;\n"
746 "\\&\n"
747 " if (argc != 2) {\n"
748 " fprintf(stderr, \"Usage: %s E<lt>stringE<gt>\\[rs]n\", argv[0]);\n"
749 " exit(EXIT_FAILURE);\n"
750 " }\n"
751 "\\&\n"
752 " if (pipe(pipefd) == -1) {\n"
753 " perror(\"pipe\");\n"
754 " exit(EXIT_FAILURE);\n"
755 " }\n"
756 "\\&\n"
757 " cpid = fork();\n"
758 " if (cpid == -1) {\n"
759 " perror(\"fork\");\n"
760 " exit(EXIT_FAILURE);\n"
761 " }\n"
762 "\\&\n"
763 " if (cpid == 0) { /* Child reads from pipe */\n"
764 " close(pipefd[1]); /* Close unused write end */\n"
765 "\\&\n"
766 " while (read(pipefd[0], &buf, 1) E<gt> 0)\n"
767 " write(STDOUT_FILENO, &buf, 1);\n"
768 "\\&\n"
769 " write(STDOUT_FILENO, \"\\[rs]n\", 1);\n"
770 " close(pipefd[0]);\n"
771 " _exit(EXIT_SUCCESS);\n"
772 "\\&\n"
773 " } else { /* Parent writes argv[1] to pipe */\n"
774 " close(pipefd[0]); /* Close unused read end */\n"
775 " write(pipefd[1], argv[1], strlen(argv[1]));\n"
776 " close(pipefd[1]); /* Reader will see EOF */\n"
777 " wait(NULL); /* Wait for child */\n"
778 " exit(EXIT_SUCCESS);\n"
779 " }\n"
780 "}\n"
781 msgstr ""
782 "#include E<lt>stdio.hE<gt>\n"
783 "#include E<lt>stdlib.hE<gt>\n"
784 "#include E<lt>string.hE<gt>\n"
785 "#include E<lt>sys/types.hE<gt>\n"
786 "#include E<lt>sys/wait.hE<gt>\n"
787 "#include E<lt>unistd.hE<gt>\n"
788 "\\&\n"
789 "int\n"
790 "main(int argc, char *argv[])\n"
791 "{\n"
792 " int pipefd[2];\n"
793 " char buf;\n"
794 " pid_t cpid;\n"
795 "\\&\n"
796 " if (argc != 2) {\n"
797 " fprintf(stderr, \"Usage: %s E<lt>stringE<gt>\\[rs]n\", argv[0]);\n"
798 " exit(EXIT_FAILURE);\n"
799 " }\n"
800 "\\&\n"
801 " if (pipe(pipefd) == -1) {\n"
802 " perror(\"pipe\");\n"
803 " exit(EXIT_FAILURE);\n"
804 " }\n"
805 "\\&\n"
806 " cpid = fork();\n"
807 " if (cpid == -1) {\n"
808 " perror(\"fork\");\n"
809 " exit(EXIT_FAILURE);\n"
810 " }\n"
811 "\\&\n"
812 " if (cpid == 0) { /* Kind leest van de pijp */\n"
813 " close(pipefd[1]); /* Sluit ongebruikte einde */\n"
814 "\\&\n"
815 " while (read(pipefd[0], &buf, 1) E<gt> 0)\n"
816 " write(STDOUT_FILENO, &buf, 1);\n"
817 "\\&\n"
818 " write(STDOUT_FILENO, \"\\[rs]n\", 1);\n"
819 " close(pipefd[0]);\n"
820 " _exit(EXIT_SUCCESS);\n"
821 "\\&\n"
822 " } else { /* Ouder schrijft argv[1] naar pijp */\n"
823 " close(pipefd[0]); /* Sluit het ongebruikte einde */\n"
824 " write(pipefd[1], argv[1], strlen(argv[1]));\n"
825 " close(pipefd[1]); /* Lezer zal EOF zien */\n"
826 " wait(NULL); /* Wacht op kind */\n"
827 " exit(EXIT_SUCCESS);\n"
828 " }\n"
829 "}\n"
830
831 #. type: TH
832 #: fedora-44 fedora-rawhide
833 #, no-wrap
834 msgid "2024-07-23"
835 msgstr "23 juli 2024"
836
837 #. type: TH
838 #: fedora-44 fedora-rawhide
839 #, no-wrap
840 msgid "Linux man-pages 6.13"
841 msgstr "Linux man-paginas 6.13"
842
843 #. type: TH
844 #: mageia-cauldron
845 #, no-wrap
846 msgid "Linux man-pages 6.17"
847 msgstr "Linux man-paginas 6.17"
848
849 #. type: TH
850 #: opensuse-leap-16-1 opensuse-tumbleweed
851 #, no-wrap
852 msgid "Linux man-pages (unreleased)"
853 msgstr "Linux man-paginas (niet vrijgegeven)"