Debian Codegraph @

po/de/man2/pipe.2.po

raw
1 # German translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Lars J. Brandt <[email protected]>, 1996.
5 # Martin Eberhard Schauer <[email protected]>, 2012.
6 # Mario Blättermann <[email protected]>, 2013, 2021, 2022, 2023.
7 # Helge Kreutzmann <[email protected]>, 2014-2017, 2019, 2022.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n 4.28.0\n"
11 "POT-Creation-Date: 2026-06-05 06:35+0200\n"
12 "PO-Revision-Date: 2025-11-01 18:14+0100\n"
13 "Last-Translator: Mario Blättermann <[email protected]>\n"
14 "Language-Team: German <[email protected]>\n"
15 "Language: de\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=2; plural=n != 1;\n"
20 "X-Generator: Lokalize 23.04.3\n"
21
22 #. type: TH
23 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
24 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
25 #, no-wrap
26 msgid "pipe"
27 msgstr "pipe"
28
29 #. type: TH
30 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
31 #: opensuse-tumbleweed
32 #, no-wrap
33 msgid "2026-02-08"
34 msgstr "8. Februar 2026"
35
36 #. type: TH
37 #: archlinux debian-unstable
38 #, no-wrap
39 msgid "Linux man-pages 6.18"
40 msgstr "Linux man-pages 6.18"
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 "BEZEICHNUNG"
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 - erstellt eine 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 "BIBLIOTHEK"
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 "Standard-C-Bibliothek (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 "ÜBERSICHT"
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<Pipedd>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> /* siehe feature_test_macros(7) */\n"
99 "B<#include E<lt>fcntl.hE<gt>> /* Definition der B<O_*>-Konstanten */\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<Pipedd>B<[2], int >I<Schalter>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 "/* Auf Alpha-, IA-64-, MIPS-, SuperH- und SPARC/SPARC64-Systemen hat pipe()\n"
118 " den folgenden Prototyp; siehe VERSIONEN */\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 "BESCHREIBUNG"
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>() erzeugt eine Pipe, einen unidirektionalen Datenkanal, der für die "
155 "Kommunikation zwischen Prozessen verwendet werden kann. Das Feld I<Pipedd> "
156 "wird verwendet, um zwei Dateideskriptoren für die Enden der Pipe "
157 "zurückzugeben. I<pipefd[0]> bezeichnet das Lese-Ende der Pipe; I<pipefd[1]> "
158 "das Schreib-Ende. In das Schreib-Ende der Pipe geschriebene Daten werden "
159 "durch den Kernel gepuffert, bis sie aus dem Lese-Ende der Pipe gelesen "
160 "werden (für weitere Details siehe B<pipe>(7))."
161
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 msgid ""
166 "If I<flags> is 0, then B<pipe2>() is the same as B<pipe>(). The following "
167 "values can be bitwise ORed in I<flags> to obtain different behavior:"
168 msgstr ""
169 "Falls I<Schalter> 0 ist, dann ist B<pipe2>() dasselbe wie B<pipe>(). Um ein "
170 "anderes Verhalten zu bewirken, können die folgenden Werte in I<Schalter> "
171 "bitweise ODER-verknüpft werden:"
172
173 #. type: TP
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 #, no-wrap
177 msgid "B<O_CLOEXEC>"
178 msgstr "B<O_CLOEXEC>"
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 msgid ""
184 "Set the close-on-exec (B<FD_CLOEXEC>) flag on the two new file "
185 "descriptors. See the description of the same flag in B<open>(2) for "
186 "reasons why this may be useful."
187 msgstr ""
188 "Setzt den Schalter »schließen bei Ausführung« (close-on-exec, B<FD_CLOEXEC>) "
189 "für die beiden neuen Dateideskriptoren. Die Beschreibung desselben Schalters "
190 "in B<open>(2) begründet, warum das nützlich sein kann."
191
192 #. type: TP
193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
195 #, no-wrap
196 msgid "B<O_DIRECT> (since Linux 3.4)"
197 msgstr "B<O_DIRECT> (seit Linux 3.4)"
198
199 #. commit 9883035ae7edef3ec62ad215611cb8e17d6a1a5d
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 msgid ""
204 "Create a pipe that performs I/O in \"packet\" mode. Each B<write>(2) to "
205 "the pipe is dealt with as a separate packet, and B<read>(2)s from the pipe "
206 "will read one packet at a time. Note the following points:"
207 msgstr ""
208 "Erstellt eine Pipe, die E/A im »Paketmodus« durchführt. Jeder B<write>(2) in "
209 "die Pipe wird als separates Paket gehandhabt und B<read>(2)s aus der Pipe "
210 "werden ein Paket auf einmal lesen. Beachten Sie die folgenden Punkte:"
211
212 #. type: IP
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 #, no-wrap
216 msgid "\\[bu]"
217 msgstr "\\[bu]"
218
219 #. type: Plain text
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 msgid ""
223 "Writes of greater than B<PIPE_BUF> bytes (see B<pipe>(7)) will be split "
224 "into multiple packets. The constant B<PIPE_BUF> is defined in "
225 "I<E<lt>limits.hE<gt>>."
226 msgstr ""
227 "Schreibvorgänge mit mehr als B<PIPE_BUF> Bytes (siehe B<pipe>(7)) werden in "
228 "mehrere Pakete aufgeteilt. Die Konstante B<PIPE_BUF> ist in "
229 "I<E<lt>limits.hE<gt>> definiert."
230
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 msgid ""
235 "If a B<read>(2) specifies a buffer size that is smaller than the next "
236 "packet, then the requested number of bytes are read, and the excess bytes in "
237 "the packet are discarded. Specifying a buffer size of B<PIPE_BUF> will be "
238 "sufficient to read the largest possible packets (see the previous point)."
239 msgstr ""
240 "Falls ein B<read>(2) einen Puffer angibt, der kleiner als das nächste Paket "
241 "ist, dann wird die angeforderte Anzahl an Bytes gelesen und die überzähligen "
242 "Bytes im Paket werden verworfen. Es reicht aus, die Puffergröße als "
243 "B<PIPE_BUF> anzugeben, um das größtmögliche Paket zu lesen (siehe hierzu "
244 "auch den vorherigen Punkt)."
245
246 #. type: Plain text
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 msgid ""
250 "Zero-length packets are not supported. (A B<read>(2) that specifies a "
251 "buffer size of zero is a no-op, and returns 0.)"
252 msgstr ""
253 "Pakete der Länge null werden nicht unterstützt. (Ein B<read>(2), der eine "
254 "Pufferlänge der Größe null angibt, ist eine Nullaktion und liefert 0 zurück.)"
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 msgid ""
260 "Older kernels that do not support this flag will indicate this via an "
261 "B<EINVAL> error."
262 msgstr ""
263 "Ältere Kernel, die diesen Schalter nicht unterstützen, zeigen dies mit dem "
264 "Fehler B<EINVAL> an."
265
266 #. commit 0dbf5f20652108106cb822ad7662c786baaa03ff
267 #. FIXME . But, it is not possible to specify O_DIRECT when opening a FIFO
268 #. type: Plain text
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 msgid ""
272 "Since Linux 4.5, it is possible to change the B<O_DIRECT> setting of a pipe "
273 "file descriptor using B<fcntl>(2)."
274 msgstr ""
275 "Seit Linux 4.5 ist es möglich, die Einstellung B<O_DIRECT> eines Pipe-"
276 "Dateideskriptors mittels B<fcntl>(2) zu ändern."
277
278 #. type: TP
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 #, no-wrap
282 msgid "B<O_NONBLOCK>"
283 msgstr "B<O_NONBLOCK>"
284
285 #. type: Plain text
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 msgid ""
289 "Set the B<O_NONBLOCK> file status flag on the open file descriptions "
290 "referred to by the new file descriptors. Using this flag saves extra calls "
291 "to B<fcntl>(2) to achieve the same result."
292 msgstr ""
293 "Setzt den Dateistatus-Schalter B<O_NONBLOCK> für die offene Datei-"
294 "Deskription, auf die sich der neue Dateideskriptor bezieht. Die Verwendung "
295 "dieses Schalters spart zusätzliche Aufrufe von B<fcntl>(2), um das gleiche "
296 "Ergebnis zu erreichen."
297
298 #. type: TP
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 #, no-wrap
302 msgid "B<O_NOTIFICATION_PIPE>"
303 msgstr "B<O_NOTIFICATION_PIPE>"
304
305 #. commit c73be61cede5882f9605a852414db559c0ebedfd
306 #. type: Plain text
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 msgid ""
310 "Since Linux 5.8, general notification mechanism is built on the top of the "
311 "pipe where kernel splices notification messages into pipes opened by user "
312 "space. The owner of the pipe has to tell the kernel which sources of events "
313 "to watch and filters can also be applied to select which subevents should be "
314 "placed into the pipe."
315 msgstr ""
316 "Seit Linux 5.8 ist ein allgemeiner Benachrichtigungsmechanismus oberhalb von "
317 "Pipes gebaut worden, bei denen der Kernel Benachrichtungsmeldungen in vom "
318 "Benutzerraum geöffnete Pipes vebindet. Der Eigentümer der Pipe muss dem "
319 "Kernel mitteilen, welche Ereignisquellen beobachtet werden sollen. Auch "
320 "können Filter angewendet werden, um auszuwählen, welche Unterereignisse in "
321 "die Pipe gelegt werden sollen."
322
323 #. type: SH
324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
325 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
326 #, no-wrap
327 msgid "RETURN VALUE"
328 msgstr "RÜCKGABEWERT"
329
330 #. type: Plain text
331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
333 msgid ""
334 "On success, zero is returned. On error, -1 is returned, I<errno> is set to "
335 "indicate the error, and I<pipefd> is left unchanged."
336 msgstr ""
337 "Bei Erfolg wird Null zurückgegeben. Bei einem Fehler wird -1 zurückgegeben, "
338 "I<errno> gesetzt, um den Fehler anzuzeigen und I<Pipedd> bleibt unverändert."
339
340 #. http://austingroupbugs.net/view.php?id=467
341 #. type: Plain text
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 msgid ""
345 "On Linux (and other systems), B<pipe>() does not modify I<pipefd> on "
346 "failure. A requirement standardizing this behavior was added in "
347 "POSIX.1-2008 TC2. The Linux-specific B<pipe2>() system call likewise does "
348 "not modify I<pipefd> on failure."
349 msgstr ""
350 "Unter Linux (und anderen Systemen) verändert B<pipe>() beim Fehlschlag "
351 "I<Pipedd> nicht. Eine Anforderung, die dieses Verhalten standardisiert, "
352 "wurde in POSIX.1-2008 TC2 hinzugefügt. Ein Linux-spezifischer Systemaufruf "
353 "B<pipe2>() ändert entsprechend auch I<Pipedd> beim Fehlschlag nicht."
354
355 #. type: SH
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 #, no-wrap
359 msgid "ERRORS"
360 msgstr "FEHLER"
361
362 #. type: TP
363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
365 #, no-wrap
366 msgid "B<EFAULT>"
367 msgstr "B<EFAULT>"
368
369 #. type: Plain text
370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
372 msgid "I<pipefd> is not valid."
373 msgstr "I<Pipedd> ist ungültig."
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<EINVAL>"
380 msgstr "B<EINVAL>"
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 "(B<pipe2>()) Invalid value in I<flags>."
386 msgstr "(B<pipe2>()) ungültiger Wert in I<Schalter>"
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<EMFILE>"
393 msgstr "B<EMFILE>"
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 "The per-process limit on the number of open file descriptors has been "
400 "reached."
401 msgstr ""
402 "Die Beschränkung pro Prozess der Anzahl offener Datei-Deskriptoren wurde "
403 "erreicht."
404
405 #. type: TP
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 #, no-wrap
409 msgid "B<ENFILE>"
410 msgstr "B<ENFILE>"
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 "The system-wide limit on the total number of open files has been reached."
417 msgstr ""
418 "Die systemweite Beschränkung für die Gesamtzahl offener Dateien wurde "
419 "erreicht."
420
421 #. type: Plain text
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 msgid ""
425 "The user hard limit on memory that can be allocated for pipes has been "
426 "reached and the caller is not privileged; see B<pipe>(7)."
427 msgstr ""
428 "Die benutzerbezogene harte Grenze des Speichers, der für Pipes zugewiesen "
429 "werden kann, wurde erreicht und der Aufrufende verfügt nicht über "
430 "Privilegien; siehe B<pipe>(7)."
431
432 #. type: TP
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 #, no-wrap
436 msgid "B<ENOPKG>"
437 msgstr "B<ENOPKG>"
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 "(B<pipe2>()) B<O_NOTIFICATION_PIPE> was passed in I<flags> and support for "
444 "notifications (B<CONFIG_WATCH_QUEUE>) is not compiled into the kernel."
445 msgstr ""
446 "(B<pipe2>()) B<O_NOTIFICATION_PIPE> wurde in I<Schalter> übergeben und die "
447 "Unterstützung für Benachrichtigungen (B<CONFIG_WATCH_QUEUE>) ist nicht im "
448 "Kernel einkompiliert."
449
450 #. type: SH
451 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
452 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
453 #, no-wrap
454 msgid "VERSIONS"
455 msgstr "VERSIONEN"
456
457 #. See http://math-atlas.sourceforge.net/devel/assembly/64.psabi.1.33.ps.Z
458 #. for example, section 3.2.1 "Registers and the Stack Frame".
459 #. type: Plain text
460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
462 msgid ""
463 "The System V ABI on some architectures allows the use of more than one "
464 "register for returning multiple values; several architectures (namely, "
465 "Alpha, IA-64, MIPS, SuperH, and SPARC/SPARC64) (ab)use this feature in "
466 "order to implement the B<pipe>() system call in a functional manner: the "
467 "call doesn't take any arguments and returns a pair of file descriptors as "
468 "the return value on success. The glibc B<pipe>() wrapper function "
469 "transparently deals with this. See B<syscall>(2) for information regarding "
470 "registers used for storing second file descriptor."
471 msgstr ""
472 "Das System-V-ABI auf einigen Architekturen erlaubt die Verwendung von mehr "
473 "als einem Register zum Zurückliefern mehrerer Werte; eine Reihe von "
474 "Architekturen (konkret Alpha, IA-64, MIPS, SuperH und SPARC/SPARC64) "
475 "(mis-)brauchen diese Funktionalität, um den Systemaufruf B<pipe>() auf eine "
476 "funktionale Weise zu implementieren: der Aufruf akzeptiert keine Argumente "
477 "und liefert im Erfolgsfall ein Paar von Dateideskriptoren als Rückgabewert "
478 "zurück. Die Glibc-Wrapperfunktion B<pipe>() geht damit transparent um. Siehe "
479 "B<syscall>(2) für Informationen im Hinblick auf die Register, die zur "
480 "Speicherung des zweiten Dateideskriptors verwandt werden."
481
482 #. type: SH
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 #, no-wrap
486 msgid "STANDARDS"
487 msgstr "STANDARDS"
488
489 #. type: Plain text
490 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
491 #: opensuse-tumbleweed
492 msgid "POSIX.1-2024."
493 msgstr "POSIX.1-2024."
494
495 #. type: SH
496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
497 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
498 #, no-wrap
499 msgid "HISTORY"
500 msgstr "GESCHICHTE"
501
502 #. type: TP
503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
505 #, no-wrap
506 msgid "B<pipe>()"
507 msgstr "B<pipe>()"
508
509 #. type: Plain text
510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
511 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
512 msgid "POSIX.1-2001."
513 msgstr "POSIX.1-2001."
514
515 #. type: TP
516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
518 #, no-wrap
519 msgid "B<pipe2>()"
520 msgstr "B<pipe2>()"
521
522 #. type: Plain text
523 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
524 #: opensuse-tumbleweed
525 msgid "POSIX.1-2024. Linux 2.6.27, glibc 2.9."
526 msgstr "POSIX.1-2024. Linux 2.6.27, Glibc 2.9."
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 "BEISPIELE"
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 "Das folgende Programm erstellt eine Pipe und erzeugt anschließend mittels "
549 "B<fork>(2) einen Kindprozess; das Kind erbt einen kopierten Satz von "
550 "Dateideskriptoren für dieselbe pipeline. Danach schließt jeder Prozess die "
551 "Dateideskriptoren, die er nicht für die Pipe benötigt (siehe B<pipe>(7)). "
552 "Der Elternprozess schreibt dann die Zeichenfolge im Befehlszeilen-Argument "
553 "in die Pipe. Der Kindprozess liest diese Zeichenfolge byteweise aus der Pipe "
554 "und gibt sie auf der Standardausgabe aus."
555
556 #. type: SS
557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
559 #, no-wrap
560 msgid "Program source"
561 msgstr "Programmquelltext"
562
563 #. type: Plain text
564 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
565 #: opensuse-leap-16-1 opensuse-tumbleweed
566 #, no-wrap
567 msgid ""
568 "#include E<lt>err.hE<gt>\n"
569 "#include E<lt>stdio.hE<gt>\n"
570 "#include E<lt>stdlib.hE<gt>\n"
571 "#include E<lt>string.hE<gt>\n"
572 "#include E<lt>sys/types.hE<gt>\n"
573 "#include E<lt>sys/wait.hE<gt>\n"
574 "#include E<lt>unistd.hE<gt>\n"
575 "\\&\n"
576 "int\n"
577 "main(int argc, char *argv[])\n"
578 "{\n"
579 " int pipefd[2];\n"
580 " char buf;\n"
581 " pid_t cpid;\n"
582 "\\&\n"
583 " if (argc != 2) {\n"
584 " fprintf(stderr, \"Usage: %s E<lt>stringE<gt>\\[rs]n\", argv[0]);\n"
585 " exit(EXIT_FAILURE);\n"
586 " }\n"
587 "\\&\n"
588 " if (pipe(pipefd) == -1)\n"
589 " err(EXIT_FAILURE, \"pipe\");\n"
590 "\\&\n"
591 " cpid = fork();\n"
592 " if (cpid == -1)\n"
593 " err(EXIT_FAILURE, \"fork\");\n"
594 "\\&\n"
595 " if (cpid == 0) { /* Child reads from pipe */\n"
596 " if (close(pipefd[1]) == -1) /* Close unused write end */\n"
597 " err(EXIT_FAILURE, \"close\");\n"
598 "\\&\n"
599 " while (read(pipefd[0], &buf, 1) E<gt> 0) {\n"
600 " if (write(STDOUT_FILENO, &buf, 1) != 1)\n"
601 " err(EXIT_FAILURE, \"write\");\n"
602 " }\n"
603 "\\&\n"
604 " if (write(STDOUT_FILENO, \"\\[rs]n\", 1) != 1)\n"
605 " err(EXIT_FAILURE, \"write\");\n"
606 " if (close(pipefd[0]) == -1)\n"
607 " err(EXIT_FAILURE, \"close\");\n"
608 " _exit(EXIT_SUCCESS);\n"
609 "\\&\n"
610 " } else { /* Parent writes argv[1] to pipe */\n"
611 " if (close(pipefd[0]) == -1) /* Close unused read end */\n"
612 " err(EXIT_FAILURE, \"close\");\n"
613 " if (write(pipefd[1], argv[1], strlen(argv[1])) != strlen(argv[1]))\n"
614 " err(EXIT_FAILURE, \"write\");\n"
615 " if (close(pipefd[1]) == -1) /* Reader will see EOF */\n"
616 " err(EXIT_FAILURE, \"close\");\n"
617 " if (wait(NULL) == -1) /* Wait for child */\n"
618 " err(EXIT_FAILURE, \"wait\");\n"
619 " exit(EXIT_SUCCESS);\n"
620 " }\n"
621 "}\n"
622 msgstr ""
623 "#include E<lt>err.hE<gt>\n"
624 "#include E<lt>stdio.hE<gt>\n"
625 "#include E<lt>stdlib.hE<gt>\n"
626 "#include E<lt>string.hE<gt>\n"
627 "#include E<lt>sys/types.hE<gt>\n"
628 "#include E<lt>sys/wait.hE<gt>\n"
629 "#include E<lt>unistd.hE<gt>\n"
630 "\\&\n"
631 "int\n"
632 "main(int argc, char *argv[])\n"
633 "{\n"
634 " int pipefd[2];\n"
635 " char buf;\n"
636 " pid_t cpid;\n"
637 "\\&\n"
638 " if (argc != 2) {\n"
639 " fprintf(stderr, \"Aufruf: %s E<lt>ZeichenketteE<gt>\\[rs]n\", argv[0]);\n"
640 " exit(EXIT_FAILURE);\n"
641 " }\n"
642 "\\&\n"
643 " if (pipe(pipefd) == -1)\n"
644 " err(EXIT_FAILURE, \"pipe\");\n"
645 "\\&\n"
646 " cpid = fork();\n"
647 " if (cpid == -1)\n"
648 " err(EXIT_FAILURE, \"fork\");\n"
649 "\\&\n"
650 " if (cpid == 0) { /* Kindprozess liest aus Pipe */\n"
651 " if (close(pipefd[1]) == -1) /* nicht verwendetes Schreib-Ende schließen */\n"
652 " err(EXIT_FAILURE, \"close\");\n"
653 "\\&\n"
654 " while (read(pipefd[0], &buf, 1) E<gt> 0) {\n"
655 " if (write(STDOUT_FILENO, &buf, 1) != 1)\n"
656 " err(EXIT_FAILURE, \"write\");\n"
657 " }\n"
658 "\\&\n"
659 " if (write(STDOUT_FILENO, \"\\[rs]n\", 1) != 1)\n"
660 " err(EXIT_FAILURE, \"write\");\n"
661 " if (close(pipefd[0]) == -1)\n"
662 " err(EXIT_FAILURE, \"close\");\n"
663 " _exit(EXIT_SUCCESS);\n"
664 "\\&\n"
665 " } else { /* Elternprozess schreibt argv[1] in die Pipe */\n"
666 " if (close(pipefd[0]) == -1) /* nicht verwendetes Lese-Ende schließen */\n"
667 " err(EXIT_FAILURE, \"close\");\n"
668 " if (write(pipefd[1], argv[1], strlen(argv[1])) != strlen(argv[1]))\n"
669 " err(EXIT_FAILURE, \"write\");\n"
670 " if (close(pipefd[1]) == -1) /* der Lesende wird EOF sehen */\n"
671 " err(EXIT_FAILURE, \"close\");\n"
672 " if (wait(NULL) == -1) /* Auf den Kindprozess warten */\n"
673 " err(EXIT_FAILURE, \"wait\");\n"
674 " exit(EXIT_SUCCESS);\n"
675 " }\n"
676 "}\n"
677
678 #. SRC END
679 #. type: SH
680 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
681 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
682 #, no-wrap
683 msgid "SEE ALSO"
684 msgstr "SIEHE AUCH"
685
686 #. type: Plain text
687 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
688 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
689 msgid ""
690 "B<fork>(2), B<read>(2), B<socketpair>(2), B<splice>(2), B<tee>(2), "
691 "B<vmsplice>(2), B<write>(2), B<popen>(3), B<pipe>(7)"
692 msgstr ""
693 "B<fork>(2), B<read>(2), B<socketpair>(2), B<splice>(2), B<tee>(2), "
694 "B<vmsplice>(2), B<write>(2), B<popen>(3), B<pipe>(7)"
695
696 #. type: TH
697 #: debian-trixie
698 #, no-wrap
699 msgid "2024-06-15"
700 msgstr "15. Juni 2024"
701
702 #. type: TH
703 #: debian-trixie
704 #, no-wrap
705 msgid "Linux man-pages 6.9.1"
706 msgstr "Linux man-pages 6.9.1"
707
708 #. type: Plain text
709 #: debian-trixie
710 msgid "Standard C library (I<libc>, I<-lc>)"
711 msgstr "Standard-C-Bibliothek (I<libc>, I<-lc>)"
712
713 #. type: Plain text
714 #: debian-trixie fedora-44 fedora-rawhide
715 msgid "POSIX.1-2008."
716 msgstr "POSIX.1-2008."
717
718 #. type: Plain text
719 #: debian-trixie fedora-44 fedora-rawhide
720 msgid "Linux."
721 msgstr "Linux."
722
723 #. type: Plain text
724 #: debian-trixie fedora-44 fedora-rawhide
725 msgid "Linux 2.6.27, glibc 2.9."
726 msgstr "Linux 2.6.27, glibc 2.9."
727
728 #. type: Plain text
729 #: debian-trixie
730 #, no-wrap
731 msgid ""
732 "#include E<lt>stdio.hE<gt>\n"
733 "#include E<lt>stdlib.hE<gt>\n"
734 "#include E<lt>string.hE<gt>\n"
735 "#include E<lt>sys/types.hE<gt>\n"
736 "#include E<lt>sys/wait.hE<gt>\n"
737 "#include E<lt>unistd.hE<gt>\n"
738 "\\&\n"
739 "int\n"
740 "main(int argc, char *argv[])\n"
741 "{\n"
742 " int pipefd[2];\n"
743 " char buf;\n"
744 " pid_t cpid;\n"
745 "\\&\n"
746 " if (argc != 2) {\n"
747 " fprintf(stderr, \"Usage: %s E<lt>stringE<gt>\\[rs]n\", argv[0]);\n"
748 " exit(EXIT_FAILURE);\n"
749 " }\n"
750 "\\&\n"
751 " if (pipe(pipefd) == -1) {\n"
752 " perror(\"pipe\");\n"
753 " exit(EXIT_FAILURE);\n"
754 " }\n"
755 "\\&\n"
756 " cpid = fork();\n"
757 " if (cpid == -1) {\n"
758 " perror(\"fork\");\n"
759 " exit(EXIT_FAILURE);\n"
760 " }\n"
761 "\\&\n"
762 " if (cpid == 0) { /* Child reads from pipe */\n"
763 " close(pipefd[1]); /* Close unused write end */\n"
764 "\\&\n"
765 " while (read(pipefd[0], &buf, 1) E<gt> 0)\n"
766 " write(STDOUT_FILENO, &buf, 1);\n"
767 "\\&\n"
768 " write(STDOUT_FILENO, \"\\[rs]n\", 1);\n"
769 " close(pipefd[0]);\n"
770 " _exit(EXIT_SUCCESS);\n"
771 "\\&\n"
772 " } else { /* Parent writes argv[1] to pipe */\n"
773 " close(pipefd[0]); /* Close unused read end */\n"
774 " write(pipefd[1], argv[1], strlen(argv[1]));\n"
775 " close(pipefd[1]); /* Reader will see EOF */\n"
776 " wait(NULL); /* Wait for child */\n"
777 " exit(EXIT_SUCCESS);\n"
778 " }\n"
779 "}\n"
780 msgstr ""
781 "#include E<lt>stdio.hE<gt>\n"
782 "#include E<lt>stdlib.hE<gt>\n"
783 "#include E<lt>string.hE<gt>\n"
784 "#include E<lt>sys/types.hE<gt>\n"
785 "#include E<lt>sys/wait.hE<gt>\n"
786 "#include E<lt>unistd.hE<gt>\n"
787 "\\&\n"
788 "int\n"
789 "main(int argc, char *argv[])\n"
790 "{\n"
791 " int pipefd[2];\n"
792 " char buf;\n"
793 " pid_t cpid;\n"
794 "\\&\n"
795 " if (argc != 2) {\n"
796 " fprintf(stderr, \"Aufruf: %s E<lt>ZeichenketteE<gt>\\[rs]n\", argv[0]);\n"
797 " exit(EXIT_FAILURE);\n"
798 " }\n"
799 "\\&\n"
800 " if (pipe(pipefd) == -1) {\n"
801 " perror(\"pipe\");\n"
802 " exit(EXIT_FAILURE);\n"
803 " }\n"
804 "\\&\n"
805 " cpid = fork();\n"
806 " if (cpid == -1) {\n"
807 " perror(\"fork\");\n"
808 " exit(EXIT_FAILURE);\n"
809 " }\n"
810 "\\&\n"
811 " if (cpid == 0) { /* Kindprozess liest aus Pipe */\n"
812 " close(pipefd[1]); /* nicht verwendetes Schreib-Ende schließen */\n"
813 "\\&\n"
814 " while (read(pipefd[0], &buf, 1) E<gt> 0)\n"
815 " write(STDOUT_FILENO, &buf, 1);\n"
816 "\\&\n"
817 " write(STDOUT_FILENO, \"\\[rs]n\", 1);\n"
818 " close(pipefd[0]);\n"
819 " _exit(EXIT_SUCCESS);\n"
820 "\\&\n"
821 " } else { /* Elternprozess schreibt argv[1] in die Pipe */\n"
822 " close(pipefd[0]); /* Nicht verwendetes Lese-Ende schließen */\n"
823 " write(pipefd[1], argv[1], strlen(argv[1]));\n"
824 " close(pipefd[1]); /* der Lesende wird EOF sehen */\n"
825 " wait(NULL); /* Auf \"das Kind\" warten */\n"
826 " exit(EXIT_SUCCESS);\n"
827 " }\n"
828 "}\n"
829
830 #. type: TH
831 #: fedora-44 fedora-rawhide
832 #, no-wrap
833 msgid "2024-07-23"
834 msgstr "23. Juli 2024"
835
836 #. type: TH
837 #: fedora-44 fedora-rawhide
838 #, no-wrap
839 msgid "Linux man-pages 6.13"
840 msgstr "Linux man-pages 6.13"
841
842 #. type: TH
843 #: mageia-cauldron
844 #, no-wrap
845 msgid "Linux man-pages 6.17"
846 msgstr "Linux man-pages 6.17"
847
848 #. type: TH
849 #: opensuse-leap-16-1 opensuse-tumbleweed
850 #, no-wrap
851 msgid "Linux man-pages (unreleased)"
852 msgstr "Linux man-pages (unveröffentlicht)"