Debian Codegraph @

po/fr/man2/splice.2.po

raw
1 # French translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003.
5 # Stéphan Rafin <[email protected]>, 2002.
6 # Thierry Vignaud <[email protected]>, 1999, 2002.
7 # François Micaux, 2002.
8 # Alain Portal <[email protected]>, 2003-2008.
9 # Jean-Philippe Guérard <[email protected]>, 2005-2006.
10 # Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007.
11 # Julien Cristau <[email protected]>, 2006-2007.
12 # Thomas Huriaux <[email protected]>, 2006-2008.
13 # Nicolas François <[email protected]>, 2006-2008.
14 # Florentin Duneau <[email protected]>, 2006-2010.
15 # Simon Paillard <[email protected]>, 2006, 2013-2014.
16 # Denis Barbier <[email protected]>, 2006, 2010.
17 # David Prévot <[email protected]>, 2010-2014.
18 # Jean-Pierre Giraud <[email protected]>, 2023-2024.
19 msgid ""
20 msgstr ""
21 "Project-Id-Version: manpages-l10n 4.22.0\n"
22 "POT-Creation-Date: 2026-06-05 06:44+0200\n"
23 "PO-Revision-Date: 2024-04-17 14:11+0200\n"
24 "Last-Translator: Jean-Pierre Giraud <[email protected]>\n"
25 "Language-Team: French <[email protected]>\n"
26 "Language: fr\n"
27 "MIME-Version: 1.0\n"
28 "Content-Type: text/plain; charset=UTF-8\n"
29 "Content-Transfer-Encoding: 8bit\n"
30 "Plural-Forms: nplurals=2; plural=n > 1;\n"
31 "X-Generator: Lokalize 22.12.3\n"
32
33 #. type: TH
34 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
35 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
36 #, no-wrap
37 msgid "splice"
38 msgstr "splice"
39
40 #. type: TH
41 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
42 #: opensuse-tumbleweed
43 #, no-wrap
44 msgid "2026-02-08"
45 msgstr "8 février 2026"
46
47 #. type: TH
48 #: archlinux debian-unstable
49 #, no-wrap
50 msgid "Linux man-pages 6.18"
51 msgstr "Pages du manuel de Linux 6.18"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "NAME"
58 msgstr "NOM"
59
60 #. type: Plain text
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "splice - splice data to/from a pipe"
64 msgstr "splice - Copier des données vers/depuis un tube"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "LIBRARY"
71 msgstr "BIBLIOTHÈQUE"
72
73 #. type: Plain text
74 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
75 #: opensuse-leap-16-1 opensuse-tumbleweed
76 msgid "Standard C library (I<libc>,\\ I<-lc>)"
77 msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)"
78
79 #. type: SH
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "SYNOPSIS"
84 msgstr "SYNOPSIS"
85
86 #. type: Plain text
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid ""
91 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
92 "B<#define _FILE_OFFSET_BITS 64>\n"
93 "B<#include E<lt>fcntl.hE<gt>>\n"
94 msgstr ""
95 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
96 "B<#define _FILE_OFFSET_BITS 64>\n"
97 "B<#include E<lt>fcntl.hE<gt>>\n"
98
99 #. Return type was long before glibc 2.7
100 #. type: Plain text
101 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
102 #: opensuse-leap-16-1 opensuse-tumbleweed
103 #, fuzzy, no-wrap
104 #| msgid ""
105 #| "B<ssize_t splice(int >I<fd_in>B<, off_t *_Nullable >I<off_in>B<,>\n"
106 #| "B< int >I<fd_out>B<, off_t *_Nullable >I<off_out>B<,>\n"
107 #| "B< size_t >I<len>B<, unsigned int >I<flags>B<);>\n"
108 msgid ""
109 "B<ssize_t splice(int >I<fd_in>B<, off_t *_Nullable >I<off_in>B<,>\n"
110 "B< int >I<fd_out>B<, off_t *_Nullable >I<off_out>B<,>\n"
111 "B< size_t >I<size>B<, unsigned int >I<flags>B<);>\n"
112 msgstr ""
113 "B<ssize_t splice(int >I<fd_in>B<, off_t *_Nullable >I<off_in>B<,>\n"
114 "B< int >I<fd_out>B<, off_t *_Nullable >I<off_out>B<,>\n"
115 "B< size_t >I<len>B<, unsigned int >I<flags>B<);>\n"
116
117 #. type: SH
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 #, no-wrap
121 msgid "DESCRIPTION"
122 msgstr "DESCRIPTION"
123
124 #. type: Plain text
125 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
126 #: opensuse-leap-16-1 opensuse-tumbleweed
127 #, fuzzy
128 #| msgid ""
129 #| "B<splice>() moves data between two file descriptors without copying "
130 #| "between kernel address space and user address space. It transfers up to "
131 #| "I<len> bytes of data from the file descriptor I<fd_in> to the file "
132 #| "descriptor I<fd_out>, where one of the file descriptors must refer to a "
133 #| "pipe."
134 msgid ""
135 "B<splice>() moves data between two file descriptors without copying between "
136 "kernel address space and user address space. It transfers up to I<size> "
137 "bytes of data from the file descriptor I<fd_in> to the file descriptor "
138 "I<fd_out>, where one of the file descriptors must refer to a pipe."
139 msgstr ""
140 "B<splice>() déplace des données entre deux descripteurs de fichier sans les "
141 "copier entre l'espace d'adressage noyau et l'espace utilisateur. Jusqu'à "
142 "I<len> octets de données sont transférés du descripteur de fichier I<fd_in> "
143 "au descripteur de fichier I<fd_out>, où l'un des descripteurs de fichier "
144 "doit correspondre à un tube."
145
146 #. type: Plain text
147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
149 msgid "The following semantics apply for I<fd_in> and I<off_in>:"
150 msgstr "Les sémantiques suivantes s'appliquent à I<fd_in> et I<off_in>\\ :"
151
152 #. type: IP
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 #, no-wrap
156 msgid "\\[bu]"
157 msgstr "-"
158
159 #. type: Plain text
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 msgid "If I<fd_in> refers to a pipe, then I<off_in> must be NULL."
163 msgstr "Si I<fd_in> correspond à un tube, alors I<off_in> doit être NULL."
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 msgid ""
169 "If I<fd_in> does not refer to a pipe and I<off_in> is NULL, then bytes are "
170 "read from I<fd_in> starting from the file offset, and the file offset is "
171 "adjusted appropriately."
172 msgstr ""
173 "Si I<fd_in> ne correspond pas à un tube et si I<off_in> est NULL, alors les "
174 "octets sont lus depuis I<in_fd> à partir de la position actuelle dans le "
175 "fichier et la position résultante est mise à jour de façon appropriée."
176
177 #. type: Plain text
178 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
179 #: opensuse-leap-16-1 opensuse-tumbleweed
180 #, fuzzy
181 #| msgid ""
182 #| "If I<fd_in> does not refer to a pipe and I<off_in> is not NULL, then "
183 #| "I<off_in> must point to a buffer which specifies the starting offset from "
184 #| "which bytes will be read from I<fd_in>; in this case, the file offset of "
185 #| "I<fd_in> is not changed."
186 msgid ""
187 "If I<fd_in> does not refer to a pipe and I<off_in> is not NULL, then "
188 "I<off_in> must point to a buffer which specifies the starting offset from "
189 "which bytes will be read from I<fd_in>; in this case, the file offset of "
190 "I<fd_in> is not changed, and the offset pointed to by I<off_in> is adjusted "
191 "appropriately instead."
192 msgstr ""
193 "Si I<fd_in> ne correspond pas à un tube et I<off_in> n'est pas NULL, alors "
194 "I<off_in> doit pointer vers un tampon qui indique la position à partir de "
195 "laquelle les données seront lues dans I<fd_in>\\ ; dans ce cas, la position "
196 "dans I<fd_in> n'est pas modifiée."
197
198 #. type: Plain text
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 msgid "Analogous statements apply for I<fd_out> and I<off_out>."
202 msgstr "Il en va de même pour I<fd_out> et I<off_out>."
203
204 #. type: Plain text
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 msgid ""
208 "The I<flags> argument is a bit mask that is composed by ORing together zero "
209 "or more of the following values:"
210 msgstr ""
211 "L'argument I<flags> est un masque de bits constitué par un I<OU> binaire "
212 "entre une ou plusieurs des valeurs suivantes\\ :"
213
214 #. type: TP
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 #, no-wrap
218 msgid "B<SPLICE_F_MOVE>"
219 msgstr "B<SPLICE_F_MOVE>"
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 "Attempt to move pages instead of copying. This is only a hint to the "
226 "kernel: pages may still be copied if the kernel cannot move the pages from "
227 "the pipe, or if the pipe buffers don't refer to full pages. The initial "
228 "implementation of this flag was buggy: therefore starting in Linux 2.6.21 it "
229 "is a no-op (but is still permitted in a B<splice>() call); in the future, a "
230 "correct implementation may be restored."
231 msgstr ""
232 "Essayer de déplacer des pages au lieu de les copier. Ceci n'est qu'une "
233 "astuce pour le au noyau\\ : des pages peuvent quand même être copiées si le "
234 "noyau ne peut pas déplacer les pages du tube ou si les tampons du tube ne "
235 "correspondent pas à des pages entières. La première implémentation de cet "
236 "attribut comportait un bogue : ainsi, à partir de Linux 2.6.21 il ne fait "
237 "rien (mais est toujours permis dans un appel à B<splice>()) ; dans le futur, "
238 "une implémentation correcte pourra être restaurée."
239
240 #. type: TP
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 #, no-wrap
244 msgid "B<SPLICE_F_NONBLOCK>"
245 msgstr "B<SPLICE_F_NONBLOCK>"
246
247 #. type: Plain text
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 msgid ""
251 "Do not block on I/O. This makes the splice pipe operations nonblocking, but "
252 "B<splice>() may nevertheless block because the file descriptors that are "
253 "spliced to/from may block (unless they have the B<O_NONBLOCK> flag set)."
254 msgstr ""
255 "Ne pas bloquer sur les entrées-sorties. Cela rend les opérations de splice "
256 "sur le tube non bloquantes, mais B<splice>() peut tout de même bloquer car "
257 "les descripteurs de fichier sur lesquels il opère peuvent bloquer (sauf "
258 "s'ils ont l'attribut B<O_NONBLOCK>)."
259
260 #. type: TP
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 #, no-wrap
264 msgid "B<SPLICE_F_MORE>"
265 msgstr "B<SPLICE_F_MORE>"
266
267 #. type: Plain text
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 msgid ""
271 "More data will be coming in a subsequent splice. This is a helpful hint "
272 "when the I<fd_out> refers to a socket (see also the description of "
273 "B<MSG_MORE> in B<send>(2), and the description of B<TCP_CORK> in B<tcp>(7))."
274 msgstr ""
275 "Des données supplémentaires seront copiées plus tard. C'est une astuce utile "
276 "lorsque I<fd_out> correspond à un socket (voir aussi la description de "
277 "B<MSG_MORE> dans B<send>(2) et la description de B<TCP_CORK> dans B<tcp>(7))."
278
279 #. type: TP
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid "B<SPLICE_F_GIFT>"
284 msgstr "B<SPLICE_F_GIFT>"
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 msgid "Unused for B<splice>(); see B<vmsplice>(2)."
290 msgstr "N'a pas d'effet pour B<splice>()\\ ; consultez B<vmsplice>(2)."
291
292 #. type: SH
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 #, no-wrap
296 msgid "RETURN VALUE"
297 msgstr "VALEUR RENVOYÉE"
298
299 #. type: Plain text
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 msgid ""
303 "Upon successful completion, B<splice>() returns the number of bytes spliced "
304 "to or from the pipe."
305 msgstr ""
306 "S'il réussit, B<splice>() renvoie le nombre d'octets transférés dans ou à "
307 "partir du tube."
308
309 #. type: Plain text
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 msgid ""
313 "A return value of 0 means end of input. If I<fd_in> refers to a pipe, then "
314 "this means that there was no data to transfer, and it would not make sense "
315 "to block because there are no writers connected to the write end of the pipe."
316 msgstr ""
317 "Une valeur de retour de B<0> signifie la fin de l'entrée. Si I<fd_in> "
318 "correspond à un tube, alors cela signifie qu'il n'y avait pas de données à "
319 "transférer et que cela n'aurait pas de sens de bloquer parce qu'il n'y a pas "
320 "d'écrivain connecté à l'extrémité d'écriture du tube."
321
322 #. type: Plain text
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 msgid ""
326 "On error, B<splice>() returns -1 and I<errno> is set to indicate the error."
327 msgstr ""
328 "En cas d'erreur, B<splice>() renvoie B<-1> et I<errno> est positionné pour "
329 "indiquer la cause de l'erreur."
330
331 #. type: SH
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 #, no-wrap
335 msgid "ERRORS"
336 msgstr "ERREURS"
337
338 #. type: TP
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 #, no-wrap
342 msgid "B<EAGAIN>"
343 msgstr "B<EAGAIN>"
344
345 #. type: Plain text
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 msgid ""
349 "B<SPLICE_F_NONBLOCK> was specified in I<flags> or one of the file "
350 "descriptors had been marked as nonblocking (B<O_NONBLOCK>)B<,> and the "
351 "operation would block."
352 msgstr ""
353 "B<SPLICE_F_NONBLOCK> était indiqué dans I<flags> ou un des descripteurs de "
354 "fichier a été marqué comme non bloquant (B<O_NONBLOCK>), et l'opération "
355 "pourrait bloquer."
356
357 #. type: TP
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 #, no-wrap
361 msgid "B<EBADF>"
362 msgstr "B<EBADF>"
363
364 #. type: Plain text
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 msgid ""
368 "One or both file descriptors are not valid, or do not have proper read-write "
369 "mode."
370 msgstr ""
371 "Au moins un des descripteurs de fichier n'est pas valable, ou n'a pas le "
372 "mode de lecture ou d'écriture approprié."
373
374 #. type: TP
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 #, no-wrap
378 msgid "B<EINVAL>"
379 msgstr "B<EINVAL>"
380
381 #. type: Plain text
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
384 msgid "The target filesystem doesn't support splicing."
385 msgstr ""
386 "Le système de fichiers cible ne prend pas en charge l'opération B<splice>()."
387
388 #. The append-mode error is given since Linux 2.6.27; in earlier kernels,
389 #. splice() in append mode was broken
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 msgid "The target file is opened in append mode."
394 msgstr "Le fichier cible est ouvert en mode ajout."
395
396 #. type: Plain text
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 msgid "Neither of the file descriptors refers to a pipe."
400 msgstr "Aucun des descripteurs de fichier ne correspond à un tube."
401
402 #. type: Plain text
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 msgid "An offset was given for nonseekable device (e.g., a pipe)."
406 msgstr ""
407 "Une position a été donnée pour un périphérique non adressable (par exemple "
408 "un tube)."
409
410 #. type: Plain text
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 msgid "I<fd_in> and I<fd_out> refer to the same pipe."
414 msgstr "I<fd_in> ou I<fd_out> font référence au même tube."
415
416 #. type: TP
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 #, no-wrap
420 msgid "B<ENOMEM>"
421 msgstr "B<ENOMEM>"
422
423 #. type: Plain text
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 msgid "Out of memory."
427 msgstr "Plus assez de mémoire."
428
429 #. type: TP
430 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
431 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
432 #, no-wrap
433 msgid "B<ESPIPE>"
434 msgstr "B<ESPIPE>"
435
436 #. type: Plain text
437 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
438 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
439 msgid ""
440 "Either I<off_in> or I<off_out> was not NULL, but the corresponding file "
441 "descriptor refers to a pipe."
442 msgstr ""
443 "I<off_in> ou I<off_out> est différent de NULL, mais le descripteur de "
444 "fichier correspondant pointe vers un tube."
445
446 #. type: SH
447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
449 #, no-wrap
450 msgid "STANDARDS"
451 msgstr "NORMES"
452
453 #. type: Plain text
454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
456 msgid "Linux."
457 msgstr "Linux."
458
459 #. type: SH
460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
462 #, no-wrap
463 msgid "HISTORY"
464 msgstr "HISTORIQUE"
465
466 #. type: Plain text
467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
469 msgid "Linux 2.6.17, glibc 2.5."
470 msgstr "Linux 2.6.17, glibc 2.5."
471
472 #. commit 7c77f0b3f9208c339a4b40737bb2cb0f0319bb8d
473 #. type: Plain text
474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
476 msgid ""
477 "In Linux 2.6.30 and earlier, exactly one of I<fd_in> and I<fd_out> was "
478 "required to be a pipe. Since Linux 2.6.31, both arguments may refer to "
479 "pipes."
480 msgstr ""
481 "Dans Linux 2.6.30 et précédents, précisément un des descripteurs de fichier "
482 "I<fd_in> ou I<fd_out> était requis d'être un tube. Depuis Linux 2.6.31, les "
483 "deux arguments peuvent correspondre à des tubes."
484
485 #. type: SH
486 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
487 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
488 #, no-wrap
489 msgid "NOTES"
490 msgstr "NOTES"
491
492 #. type: Plain text
493 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
494 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
495 msgid ""
496 "The three system calls B<splice>(), B<vmsplice>(2), and B<tee>(2), provide "
497 "user-space programs with full control over an arbitrary kernel buffer, "
498 "implemented within the kernel using the same type of buffer that is used for "
499 "a pipe. In overview, these system calls perform the following tasks:"
500 msgstr ""
501 "Les trois appels système B<splice>(), B<vmsplice>(2) et B<tee>(2) "
502 "fournissent aux programmes utilisateur le contrôle complet d'un tampon "
503 "arbitraire du noyau, implémenté côté noyau en utilisant le même type de "
504 "tampons que pour les tubes. Ces appels système assurent les tâches "
505 "suivantes\\ :"
506
507 #. type: TP
508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
510 #, no-wrap
511 msgid "B<splice>()"
512 msgstr "B<splice>()"
513
514 #. type: Plain text
515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
517 msgid ""
518 "moves data from the buffer to an arbitrary file descriptor, or vice versa, "
519 "or from one buffer to another."
520 msgstr ""
521 "déplace des données depuis le tampon vers un descripteur de fichier "
522 "arbitraire, ou vice versa, ou bien depuis un tampon vers un autre."
523
524 #. type: TP
525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
526 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
527 #, no-wrap
528 msgid "B<tee>(2)"
529 msgstr "B<tee>(2)"
530
531 #. type: Plain text
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 msgid "\"copies\" the data from one buffer to another."
535 msgstr "«\\ copie\\ » les données d'un tampon vers un autre."
536
537 #. type: TP
538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
540 #, no-wrap
541 msgid "B<vmsplice>(2)"
542 msgstr "B<vmsplice>(2)"
543
544 #. type: Plain text
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 msgid "\"copies\" data from user space into the buffer."
548 msgstr "«\\ copie\\ » des données de l'espace utilisateur vers le tampon."
549
550 #
551 #
552 #. Linus: Now, imagine using the above in a media server, for example.
553 #. Let's say that a year or two has passed, so that the video drivers
554 #. have been updated to be able to do the splice thing, and what can
555 #. you do? You can:
556 #. - splice from the (mpeg or whatever - let's just assume that the video
557 #. input is either digital or does the encoding on its own - like they
558 #. pretty much all do) video input into a pipe (remember: no copies - the
559 #. video input will just DMA directly into memory, and splice will just
560 #. set up the pages in the pipe buffer)
561 #. - tee that pipe to split it up
562 #. - splice one end to a file (ie "save the compressed stream to disk")
563 #. - splice the other end to a real-time video decoder window for your
564 #. real-time viewing pleasure.
565 #. Linus: Now, the advantage of splice()/tee() is that you can
566 #. do zero-copy movement of data, and unlike sendfile() you can
567 #. do it on _arbitrary_ data (and, as shown by "tee()", it's more
568 #. than just sending the data to somebody else: you can duplicate
569 #. the data and choose to forward it to two or more different
570 #. users - for things like logging etc.).
571 #. type: Plain text
572 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
573 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
574 msgid ""
575 "Though we talk of copying, actual copies are generally avoided. The kernel "
576 "does this by implementing a pipe buffer as a set of reference-counted "
577 "pointers to pages of kernel memory. The kernel creates \"copies\" of pages "
578 "in a buffer by creating new pointers (for the output buffer) referring to "
579 "the pages, and increasing the reference counts for the pages: only pointers "
580 "are copied, not the pages of the buffer."
581 msgstr ""
582 "Bien qu'il soit question de copie, les vraies copies sont en général "
583 "évitées. Le noyau implémente en effet le tampon d'un tube comme un ensemble "
584 "de pointeurs vers des pages de mémoire noyau pouvant être référencées "
585 "plusieurs fois. Le noyau crée des «\\ copies\\ » des pages dans un tampon en "
586 "créant de nouveaux pointeurs (pour le tampon de sortie) pointant vers les "
587 "pages, et en incrémentant les compteurs de références des pages\\ : seuls "
588 "les pointeurs sont copiés, et pas les pages du tampon."
589
590 #. type: Plain text
591 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
592 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
593 msgid ""
594 "B<_FILE_OFFSET_BITS> should be defined to be 64 in code that uses non-null "
595 "I<off_in> or I<off_out> or that takes the address of B<splice>, if the code "
596 "is intended to be portable to traditional 32-bit x86 and ARM platforms where "
597 "B<off_t>'s width defaults to 32 bits."
598 msgstr ""
599 "B<_FILE_OFFSET_BITS> doit être défini à 64 dans du code qui utilise "
600 "I<off_in> ou I<off_out> différent de NULL, ou qui récupère l'adresse de "
601 "B<splice>, si le code est destiné à être protable sur des plateformes x86 et "
602 "ARM 32 bits classiques où la taille par défaut de B<off_t> est de 32 bits."
603
604 #. type: SH
605 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
606 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
607 #, no-wrap
608 msgid "EXAMPLES"
609 msgstr "EXEMPLES"
610
611 #. type: Plain text
612 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
613 #: opensuse-leap-16-1 opensuse-tumbleweed
614 msgid "See B<tee>(2) for another example."
615 msgstr ""
616
617 #. type: Plain text
618 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
619 #: opensuse-tumbleweed
620 #, no-wrap
621 msgid ""
622 "\\&\n"
623 "#define _GNU_SOURCE\n"
624 "#define _FILE_OFFSET_BITS 64\n"
625 "#include E<lt>err.hE<gt>\n"
626 "#include E<lt>fcntl.hE<gt>\n"
627 "#include E<lt>stdint.hE<gt>\n"
628 "#include E<lt>stdio.hE<gt>\n"
629 "#include E<lt>stdlib.hE<gt>\n"
630 "#include E<lt>sys/types.hE<gt>\n"
631 "#include E<lt>unistd.hE<gt>\n"
632 "\\&\n"
633 "int\n"
634 "main(void)\n"
635 "{\n"
636 " int fd;\n"
637 " int pfd[2];\n"
638 " off_t off;\n"
639 " [[gnu::nonstring]]\n"
640 "\tconst char s[12] = \"Hello, world\";\n"
641 "\\&\n"
642 " fd = open(\"out\", O_WRONLY | O_CREAT | O_EXCL, 0666);\n"
643 " if (fd == -1)\n"
644 " err(EXIT_FAILURE, \"open\");\n"
645 "\\&\n"
646 " if (pipe(pfd) == -1)\n"
647 " err(EXIT_FAILURE, \"pipe\");\n"
648 "\\&\n"
649 " if (write(pfd[1], s, sizeof(s)) != sizeof(s))\n"
650 " err(EXIT_FAILURE, \"write\");\n"
651 " if (close(pfd[1]) == -1)\n"
652 " err(EXIT_FAILURE, \"close\");\n"
653 "\\&\n"
654 " off = 10;\n"
655 " if (splice(pfd[0], NULL, fd, &off, sizeof(s), 0) != sizeof(s))\n"
656 " err(EXIT_FAILURE, \"splice\");\n"
657 " if (close(pfd[0]) == -1)\n"
658 " err(EXIT_FAILURE, \"close\");\n"
659 "\\&\n"
660 " printf(\"New offset is %jd\\[rs]n\", (intmax_t) off);\n"
661 "\\&\n"
662 " if (close(fd) == -1)\n"
663 " err(EXIT_FAILURE, \"close\");\n"
664 " exit(EXIT_SUCCESS);\n"
665 "}\n"
666 msgstr ""
667
668 #. #-#-#-#-# archlinux: splice.2.pot (PACKAGE VERSION) #-#-#-#-#
669 #. SRC END
670 #. type: SH
671 #. #-#-#-#-# debian-trixie: splice.2.pot (PACKAGE VERSION) #-#-#-#-#
672 #. type: SH
673 #. #-#-#-#-# debian-unstable: splice.2.pot (PACKAGE VERSION) #-#-#-#-#
674 #. SRC END
675 #. type: SH
676 #. #-#-#-#-# fedora-44: splice.2.pot (PACKAGE VERSION) #-#-#-#-#
677 #. SRC END
678 #. type: SH
679 #. #-#-#-#-# fedora-rawhide: splice.2.pot (PACKAGE VERSION) #-#-#-#-#
680 #. SRC END
681 #. type: SH
682 #. #-#-#-#-# mageia-cauldron: splice.2.pot (PACKAGE VERSION) #-#-#-#-#
683 #. SRC END
684 #. type: SH
685 #. #-#-#-#-# opensuse-leap-16-1: splice.2.pot (PACKAGE VERSION) #-#-#-#-#
686 #. SRC END
687 #. type: SH
688 #. #-#-#-#-# opensuse-tumbleweed: splice.2.pot (PACKAGE VERSION) #-#-#-#-#
689 #. SRC END
690 #. type: SH
691 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
692 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
693 #, no-wrap
694 msgid "SEE ALSO"
695 msgstr "VOIR AUSSI"
696
697 #. type: Plain text
698 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
699 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
700 msgid ""
701 "B<copy_file_range>(2), B<sendfile>(2), B<tee>(2), B<vmsplice>(2), B<pipe>(7)"
702 msgstr ""
703 "B<copy_file_range>(2), B<sendfile>(2), B<tee>(2), B<vmsplice>(2), B<pipe>(7)"
704
705 #. type: TH
706 #: debian-trixie
707 #, no-wrap
708 msgid "2024-05-02"
709 msgstr "2 mai 2024"
710
711 #. type: TH
712 #: debian-trixie
713 #, no-wrap
714 msgid "Linux man-pages 6.9.1"
715 msgstr "Pages du manuel de Linux 6.9.1"
716
717 #. type: Plain text
718 #: debian-trixie
719 msgid "Standard C library (I<libc>, I<-lc>)"
720 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
721
722 #. Return type was long before glibc 2.7
723 #. type: Plain text
724 #: debian-trixie
725 #, no-wrap
726 msgid ""
727 "B<ssize_t splice(int >I<fd_in>B<, off_t *_Nullable >I<off_in>B<,>\n"
728 "B< int >I<fd_out>B<, off_t *_Nullable >I<off_out>B<,>\n"
729 "B< size_t >I<len>B<, unsigned int >I<flags>B<);>\n"
730 msgstr ""
731 "B<ssize_t splice(int >I<fd_in>B<, off_t *_Nullable >I<off_in>B<,>\n"
732 "B< int >I<fd_out>B<, off_t *_Nullable >I<off_out>B<,>\n"
733 "B< size_t >I<len>B<, unsigned int >I<flags>B<);>\n"
734
735 #. type: Plain text
736 #: debian-trixie
737 msgid ""
738 "B<splice>() moves data between two file descriptors without copying between "
739 "kernel address space and user address space. It transfers up to I<len> "
740 "bytes of data from the file descriptor I<fd_in> to the file descriptor "
741 "I<fd_out>, where one of the file descriptors must refer to a pipe."
742 msgstr ""
743 "B<splice>() déplace des données entre deux descripteurs de fichier sans les "
744 "copier entre l'espace d'adressage noyau et l'espace utilisateur. Jusqu'à "
745 "I<len> octets de données sont transférés du descripteur de fichier I<fd_in> "
746 "au descripteur de fichier I<fd_out>, où l'un des descripteurs de fichier "
747 "doit correspondre à un tube."
748
749 #. type: Plain text
750 #: debian-trixie
751 msgid ""
752 "If I<fd_in> does not refer to a pipe and I<off_in> is not NULL, then "
753 "I<off_in> must point to a buffer which specifies the starting offset from "
754 "which bytes will be read from I<fd_in>; in this case, the file offset of "
755 "I<fd_in> is not changed."
756 msgstr ""
757 "Si I<fd_in> ne correspond pas à un tube et I<off_in> n'est pas NULL, alors "
758 "I<off_in> doit pointer vers un tampon qui indique la position à partir de "
759 "laquelle les données seront lues dans I<fd_in>\\ ; dans ce cas, la position "
760 "dans I<fd_in> n'est pas modifiée."
761
762 #. type: Plain text
763 #: debian-trixie
764 msgid "See B<tee>(2)."
765 msgstr "Consultez B<tee>(2)."
766
767 #. type: TH
768 #: fedora-44 fedora-rawhide
769 #, no-wrap
770 msgid "2024-11-17"
771 msgstr "17 novembre 2024"
772
773 #. type: TH
774 #: fedora-44 fedora-rawhide
775 #, no-wrap
776 msgid "Linux man-pages 6.13"
777 msgstr "Pages du manuel de Linux 6.13"
778
779 #. type: Plain text
780 #: fedora-44 fedora-rawhide
781 #, no-wrap
782 msgid ""
783 "\\&\n"
784 "#define _GNU_SOURCE\n"
785 "#define _FILE_OFFSET_BITS 64\n"
786 "#include E<lt>err.hE<gt>\n"
787 "#include E<lt>fcntl.hE<gt>\n"
788 "#include E<lt>stdint.hE<gt>\n"
789 "#include E<lt>stdio.hE<gt>\n"
790 "#include E<lt>stdlib.hE<gt>\n"
791 "#include E<lt>sys/types.hE<gt>\n"
792 "#include E<lt>unistd.hE<gt>\n"
793 "\\&\n"
794 "int\n"
795 "main(void)\n"
796 "{\n"
797 " int fd;\n"
798 " int pfd[2];\n"
799 " off_t off;\n"
800 " const char s[12] = \"Hello, world\";\n"
801 "\\&\n"
802 " fd = open(\"out\", O_WRONLY | O_CREAT | O_EXCL, 0666);\n"
803 " if (fd == -1)\n"
804 " err(EXIT_FAILURE, \"open\");\n"
805 "\\&\n"
806 " if (pipe(pfd) == -1)\n"
807 " err(EXIT_FAILURE, \"pipe\");\n"
808 "\\&\n"
809 " if (write(pfd[1], s, sizeof(s)) != sizeof(s))\n"
810 " err(EXIT_FAILURE, \"write\");\n"
811 " if (close(pfd[1]) == -1)\n"
812 " err(EXIT_FAILURE, \"close\");\n"
813 "\\&\n"
814 " off = 10;\n"
815 " if (splice(pfd[0], NULL, fd, &off, sizeof(s), 0) != sizeof(s))\n"
816 " err(EXIT_FAILURE, \"splice\");\n"
817 " if (close(pfd[0]) == -1)\n"
818 " err(EXIT_FAILURE, \"close\");\n"
819 "\\&\n"
820 " printf(\"New offset is %jd\\[rs]n\", (intmax_t) off);\n"
821 "\\&\n"
822 " if (close(fd) == -1)\n"
823 " err(EXIT_FAILURE, \"close\");\n"
824 " exit(EXIT_SUCCESS);\n"
825 "}\n"
826 msgstr ""
827
828 #. type: TH
829 #: mageia-cauldron
830 #, no-wrap
831 msgid "Linux man-pages 6.17"
832 msgstr "Pages du manuel de Linux 6.17"
833
834 #. type: TH
835 #: opensuse-leap-16-1 opensuse-tumbleweed
836 #, no-wrap
837 msgid "Linux man-pages (unreleased)"
838 msgstr "Pages du manuel de Linux (non publiées)"