Debian Codegraph @

po/fr/man3/strcpy.3.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.
16 # Denis Barbier <[email protected]>, 2006, 2010.
17 # David Prévot <[email protected]>, 2010-2012, 2014.
18 # Frédéric Hantrais <[email protected]>, 2013, 2014.
19 # Grégoire Scano <[email protected]>, 2020.
20 # Jean-Pierre Giraud <[email protected]>, 2023-2024.
21 msgid ""
22 msgstr ""
23 "Project-Id-Version: manpages-l10n 4.22.0\n"
24 "POT-Creation-Date: 2026-06-05 06:45+0200\n"
25 "PO-Revision-Date: 2024-06-01 11:21+0200\n"
26 "Last-Translator: Jean-Pierre Giraud <[email protected]>\n"
27 "Language-Team: French <[email protected]>\n"
28 "Language: fr\n"
29 "MIME-Version: 1.0\n"
30 "Content-Type: text/plain; charset=UTF-8\n"
31 "Content-Transfer-Encoding: 8bit\n"
32 "Plural-Forms: nplurals=2; plural=n > 1;\n"
33 "X-Generator: Lokalize 22.12.3\n"
34
35 #. type: TH
36 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
37 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
38 #, no-wrap
39 msgid "strcpy"
40 msgstr "strcpy"
41
42 #. type: TH
43 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
44 #, no-wrap
45 msgid "2026-02-25"
46 msgstr "25 février 2026"
47
48 #. type: TH
49 #: archlinux debian-unstable
50 #, no-wrap
51 msgid "Linux man-pages 6.18"
52 msgstr "Pages du manuel de Linux 6.18"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "NAME"
59 msgstr "NOM"
60
61 #. type: Plain text
62 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
63 #, fuzzy
64 #| msgid "stpcpy, strcpy, strcat - copy or catenate a string"
65 msgid "strcpy, strcat - copy or catenate a string"
66 msgstr "stpcpy, strcpy, strcat - Copier ou concaténer une chaîne"
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 "LIBRARY"
73 msgstr "BIBLIOTHÈQUE"
74
75 #. type: Plain text
76 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
77 #: opensuse-leap-16-1 opensuse-tumbleweed
78 msgid "Standard C library (I<libc>,\\ I<-lc>)"
79 msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)"
80
81 #. type: SH
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid "SYNOPSIS"
86 msgstr "SYNOPSIS"
87
88 #. type: Plain text
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 #, no-wrap
92 msgid "B<#include E<lt>string.hE<gt>>\n"
93 msgstr "B<#include E<lt>string.hE<gt>>\n"
94
95 #. type: Plain text
96 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
97 #, fuzzy, no-wrap
98 #| msgid ""
99 #| "B<char *stpcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
100 #| "B<char *strcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
101 #| "B<char *strcat(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
102 msgid ""
103 "B<char *strcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
104 "B<char *strcat(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
105 msgstr ""
106 "B<char *stpcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
107 "B<char *strcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
108 "B<char *strcat(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
109
110 #. type: SH
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 #, no-wrap
114 msgid "DESCRIPTION"
115 msgstr "DESCRIPTION"
116
117 #. type: TP
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 #, no-wrap
121 msgid "B<strcpy>()"
122 msgstr "B<strcpy>()"
123
124 #. type: Plain text
125 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
126 #, fuzzy
127 #| msgid ""
128 #| "These functions copy the string pointed to by I<src>, into a string at "
129 #| "the buffer pointed to by I<dst>. The programmer is responsible for "
130 #| "allocating a destination buffer large enough, that is, I<strlen(src) + "
131 #| "1>. For the difference between the two functions, see RETURN VALUE."
132 msgid ""
133 "This function copies the string pointed to by I<src>, into a string at the "
134 "buffer pointed to by I<dst>. The programmer is responsible for allocating a "
135 "destination buffer large enough, that is, I<strlen(src) + 1>."
136 msgstr ""
137 "Ces fonctions copient la chaîne pointée par I<src> dans une chaîne dans le "
138 "tampon pointé par I<dst>. Le programmeur est responsable de l'allocation "
139 "d'un tampon de destination suffisamment grand, c'est-à-dire I<strlen(src)\\ +"
140 "\\ 1>. Pour la différence entre les deux fonctions voir VALEUR RENVOYÉE."
141
142 #. type: Plain text
143 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
144 msgid "It is equivalent to"
145 msgstr "C'est équivalent à\\ :"
146
147 #. type: Plain text
148 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
149 #, no-wrap
150 msgid "stpcpy(dst, src), dst\n"
151 msgstr ""
152
153 #. #-#-#-#-# archlinux: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-#
154 #. type: TP
155 #. #-#-#-#-# debian-trixie: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-#
156 #. type: TQ
157 #. #-#-#-#-# debian-unstable: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-#
158 #. type: TP
159 #. #-#-#-#-# fedora-44: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-#
160 #. type: TQ
161 #. #-#-#-#-# fedora-rawhide: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-#
162 #. type: TQ
163 #. #-#-#-#-# mageia-cauldron: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-#
164 #. type: TQ
165 #. #-#-#-#-# opensuse-leap-16-1: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-#
166 #. type: TP
167 #. #-#-#-#-# opensuse-tumbleweed: strcpy.3.pot (PACKAGE VERSION) #-#-#-#-#
168 #. type: TP
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 #, no-wrap
172 msgid "B<strcat>()"
173 msgstr "B<strcat>()"
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 msgid ""
179 "This function catenates the string pointed to by I<src>, after the string "
180 "pointed to by I<dst> (overwriting its terminating null byte). The "
181 "programmer is responsible for allocating a destination buffer large enough, "
182 "that is, I<strlen(dst) + strlen(src) + 1>."
183 msgstr ""
184 "Cette fonction concatène la chaîne pointée par I<src> après la chaîne "
185 "pointée par I<dst> (écrasant son octet NULL final). Le programmeur est "
186 "responsable de l'allocation d'un tampon de destination suffisamment grand, "
187 "c'est-à-dire I<strlen(dst)\\ + strlen(src) +\\ 1>."
188
189 #. type: Plain text
190 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
191 #, no-wrap
192 msgid "stpcpy(strnul(dst), src), dst\n"
193 msgstr ""
194
195 #. type: SH
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 #, no-wrap
199 msgid "RETURN VALUE"
200 msgstr "VALEUR RENVOYÉE"
201
202 #. type: Plain text
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 msgid "These functions return I<dst>."
206 msgstr "Ces fonctions renvoient I<dst>."
207
208 #. type: SH
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 #, no-wrap
212 msgid "ATTRIBUTES"
213 msgstr "ATTRIBUTS"
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 msgid ""
219 "For an explanation of the terms used in this section, see B<attributes>(7)."
220 msgstr ""
221 "Pour une explication des termes utilisés dans cette section, consulter "
222 "B<attributes>(7)."
223
224 #. type: tbl table
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 #, no-wrap
228 msgid "Interface"
229 msgstr "Interface"
230
231 #. type: tbl table
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 #, no-wrap
235 msgid "Attribute"
236 msgstr "Attribut"
237
238 #. type: tbl table
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 #, no-wrap
242 msgid "Value"
243 msgstr "Valeur"
244
245 #. type: tbl table
246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
247 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
248 #, no-wrap
249 msgid ".na\n"
250 msgstr ".na\n"
251
252 #. type: tbl table
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 #, no-wrap
256 msgid ".nh\n"
257 msgstr ".nh\n"
258
259 #. type: tbl table
260 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
261 #, fuzzy, no-wrap
262 #| msgid ""
263 #| "B<stpcpy>(),\n"
264 #| "B<strcpy>(),\n"
265 #| "B<strcat>()"
266 msgid ""
267 "B<strcpy>(),\n"
268 "B<strcat>()"
269 msgstr ""
270 "B<stpcpy>(),\n"
271 "B<strcpy>(),\n"
272 "B<strcat>()"
273
274 #. type: tbl table
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 #, no-wrap
278 msgid "Thread safety"
279 msgstr "Sécurité des threads"
280
281 #. type: tbl table
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 #, no-wrap
285 msgid "MT-Safe"
286 msgstr "MT-Safe"
287
288 #. type: SH
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 #, no-wrap
292 msgid "STANDARDS"
293 msgstr "NORMES"
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 msgid "C11, POSIX.1-2008."
299 msgstr "C11, POSIX.1-2008."
300
301 #. type: SH
302 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
303 #, no-wrap
304 msgid "HISTORY"
305 msgstr "HISTORIQUE"
306
307 #. type: Plain text
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 msgid "POSIX.1-2001, C89, SVr4, 4.3BSD."
311 msgstr "POSIX.1-2001, C89, SVr4, 4.3BSD."
312
313 #. type: SH
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 #, no-wrap
317 msgid "CAVEATS"
318 msgstr "AVERTISSEMENTS"
319
320 #. type: Plain text
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 msgid "The strings I<src> and I<dst> may not overlap."
324 msgstr "Les chaînes I<src> et I<dst> ne doivent pas se chevaucher."
325
326 #. type: Plain text
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 msgid ""
330 "If the destination buffer is not large enough, the behavior is undefined. "
331 "See B<_FORTIFY_SOURCE> in B<feature_test_macros>(7)."
332 msgstr ""
333 "Si le tampon de destination n'est pas assez grand, le comportement est "
334 "indéfini. Voir B<_FORTIFY_SOURCE> dans B<feature_test_macros>(7)."
335
336 #. type: Plain text
337 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
338 #: opensuse-tumbleweed
339 #, fuzzy
340 #| msgid ""
341 #| "B<strcat>() can be very inefficient. Read about E<.UR https://"
342 #| "www.joelonsoftware.com/\\:2001/12/11/\\:back-to-basics/> Shlemiel the "
343 #| "painter E<.UE .>"
344 msgid ""
345 "B<strcat>() can be very inefficient. Read about E<.UR https:\\://"
346 "www.joelonsoftware.com/\\:2001/12/11/\\:back-to-basics/> Shlemiel the "
347 "painter E<.UE .>"
348 msgstr ""
349 "B<strcat>() peut être très inefficace. Lire à ce sujet E<.UR https://"
350 "www.joelonsoftware.com/\\:2001/12/11/\\:back-to-basics/> Shlemiel the "
351 "painter E<.UE .>"
352
353 #. type: SH
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 #, no-wrap
357 msgid "EXAMPLES"
358 msgstr "EXEMPLES"
359
360 #. type: Plain text
361 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
362 #, fuzzy, no-wrap
363 #| msgid ""
364 #| "#include E<lt>err.hE<gt>\n"
365 #| "#include E<lt>stdio.hE<gt>\n"
366 #| "#include E<lt>stdlib.hE<gt>\n"
367 #| "#include E<lt>string.hE<gt>\n"
368 #| "\\&\n"
369 #| "int\n"
370 #| "main(void)\n"
371 #| "{\n"
372 #| " char *p;\n"
373 #| " char *buf1;\n"
374 #| " char *buf2;\n"
375 #| " size_t len, size;\n"
376 #| "\\&\n"
377 #| " size = strlen(\"Hello \") + strlen(\"world\") + strlen(\"!\") + 1;\n"
378 #| " buf1 = malloc(sizeof(*buf1) * size);\n"
379 #| " if (buf1 == NULL)\n"
380 #| " err(EXIT_FAILURE, \"malloc()\");\n"
381 #| " buf2 = malloc(sizeof(*buf2) * size);\n"
382 #| " if (buf2 == NULL)\n"
383 #| " err(EXIT_FAILURE, \"malloc()\");\n"
384 #| "\\&\n"
385 #| " p = buf1;\n"
386 #| " p = stpcpy(p, \"Hello \");\n"
387 #| " p = stpcpy(p, \"world\");\n"
388 #| " p = stpcpy(p, \"!\");\n"
389 #| " len = p - buf1;\n"
390 #| "\\&\n"
391 #| " printf(\"[len = %zu]: \", len);\n"
392 #| " puts(buf1); // \"Hello world!\"\n"
393 #| " free(buf1);\n"
394 #| "\\&\n"
395 #| " strcpy(buf2, \"Hello \");\n"
396 #| " strcat(buf2, \"world\");\n"
397 #| " strcat(buf2, \"!\");\n"
398 #| " len = strlen(buf2);\n"
399 #| "\\&\n"
400 #| " printf(\"[len = %zu]: \", len);\n"
401 #| " puts(buf2); // \"Hello world!\"\n"
402 #| " free(buf2);\n"
403 #| "\\&\n"
404 #| " exit(EXIT_SUCCESS);\n"
405 #| "}\n"
406 msgid ""
407 "#include E<lt>err.hE<gt>\n"
408 "#include E<lt>stdio.hE<gt>\n"
409 "#include E<lt>stdlib.hE<gt>\n"
410 "#include E<lt>string.hE<gt>\n"
411 "\\&\n"
412 "int\n"
413 "main(void)\n"
414 "{\n"
415 " char *buf1;\n"
416 " size_t len, size;\n"
417 "\\&\n"
418 " size = strlen(\"Hello \") + strlen(\"world\") + strlen(\"!\") + 1;\n"
419 " buf1 = malloc(sizeof(*buf1) * size);\n"
420 " if (buf1 == NULL)\n"
421 " err(EXIT_FAILURE, \"malloc()\");\n"
422 "\\&\n"
423 " strcpy(buf1, \"Hello \");\n"
424 " strcat(buf1, \"world\");\n"
425 " strcat(buf1, \"!\");\n"
426 " len = strlen(buf1);\n"
427 "\\&\n"
428 " printf(\"[len = %zu]: \", len);\n"
429 " puts(buf1); // \"Hello world!\"\n"
430 " free(buf1);\n"
431 "\\&\n"
432 " exit(EXIT_SUCCESS);\n"
433 "}\n"
434 msgstr ""
435 "#include E<lt>err.hE<gt>\n"
436 "#include E<lt>stdio.hE<gt>\n"
437 "#include E<lt>stdlib.hE<gt>\n"
438 "#include E<lt>string.hE<gt>\n"
439 "\\&\n"
440 "int\n"
441 "main(void)\n"
442 "{\n"
443 " char *p;\n"
444 " char *buf1;\n"
445 " char *buf2;\n"
446 " size_t len, size;\n"
447 "\\&\n"
448 " size = strlen(\"Hello \") + strlen(\"world\") + strlen(\"!\") + 1;\n"
449 " buf1 = malloc(sizeof(*buf1) * size);\n"
450 " if (buf1 == NULL)\n"
451 " err(EXIT_FAILURE, \"malloc()\");\n"
452 " buf2 = malloc(sizeof(*buf2) * size);\n"
453 " if (buf2 == NULL)\n"
454 " err(EXIT_FAILURE, \"malloc()\");\n"
455 "\\&\n"
456 " p = buf1;\n"
457 " p = stpcpy(p, \"Hello \");\n"
458 " p = stpcpy(p, \"world\");\n"
459 " p = stpcpy(p, \"!\");\n"
460 " len = p - buf1;\n"
461 "\\&\n"
462 " printf(\"[len = %zu]: \", len);\n"
463 " puts(buf1); // \"Hello world!\"\n"
464 " free(buf1);\n"
465 "\\&\n"
466 " strcpy(buf2, \"Hello \");\n"
467 " strcat(buf2, \"world\");\n"
468 " strcat(buf2, \"!\");\n"
469 " len = strlen(buf2);\n"
470 "\\&\n"
471 " printf(\"[len = %zu]: \", len);\n"
472 " puts(buf2); // \"Hello world!\"\n"
473 " free(buf2);\n"
474 "\\&\n"
475 " exit(EXIT_SUCCESS);\n"
476 "}\n"
477
478 #. SRC END
479 #. type: SH
480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
482 #, no-wrap
483 msgid "SEE ALSO"
484 msgstr "VOIR AUSSI"
485
486 #. type: Plain text
487 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
488 #, fuzzy
489 #| msgid "B<strdup>(3), B<string>(3), B<wcscpy>(3), B<string_copying>(7)"
490 msgid ""
491 "B<stpcpy>(3), B<strdup>(3), B<string>(3), B<wcscpy>(3), B<string_copying>(7)"
492 msgstr "B<strdup>(3), B<string>(3), B<wcscpy>(3), B<string_copying>(7)"
493
494 #. type: TH
495 #: debian-trixie
496 #, no-wrap
497 msgid "2024-06-15"
498 msgstr "15 juin 2024"
499
500 #. type: TH
501 #: debian-trixie
502 #, no-wrap
503 msgid "Linux man-pages 6.9.1"
504 msgstr "Pages du manuel de Linux 6.9.1"
505
506 #. type: Plain text
507 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
508 msgid "stpcpy, strcpy, strcat - copy or catenate a string"
509 msgstr "stpcpy, strcpy, strcat - Copier ou concaténer une chaîne"
510
511 #. type: Plain text
512 #: debian-trixie
513 msgid "Standard C library (I<libc>, I<-lc>)"
514 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
515
516 #. type: Plain text
517 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
518 #, no-wrap
519 msgid ""
520 "B<char *stpcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
521 "B<char *strcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
522 "B<char *strcat(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
523 msgstr ""
524 "B<char *stpcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
525 "B<char *strcpy(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
526 "B<char *strcat(char *restrict >I<dst>B<, const char *restrict >I<src>B<);>\n"
527
528 #. type: Plain text
529 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
530 msgid ""
531 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
532 msgstr ""
533 "Exigences de macros de test de fonctionnalités pour la glibc (consulter "
534 "B<feature_test_macros>(7)) :"
535
536 #. type: Plain text
537 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
538 msgid "B<stpcpy>():"
539 msgstr "B<stpcpy>() :"
540
541 #. type: Plain text
542 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
543 #, no-wrap
544 msgid ""
545 " Since glibc 2.10:\n"
546 " _POSIX_C_SOURCE E<gt>= 200809L\n"
547 " Before glibc 2.10:\n"
548 " _GNU_SOURCE\n"
549 msgstr ""
550 " Depuis la glibc 2.10 :\n"
551 " _POSIX_C_SOURCE E<gt>= 200809L\n"
552 " Avant la glibc 2.10 :\n"
553 " _GNU_SOURCE\n"
554
555 #. type: TP
556 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
557 #, no-wrap
558 msgid "B<stpcpy>()"
559 msgstr "B<stpcpy>()"
560
561 #. type: Plain text
562 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
563 msgid ""
564 "These functions copy the string pointed to by I<src>, into a string at the "
565 "buffer pointed to by I<dst>. The programmer is responsible for allocating a "
566 "destination buffer large enough, that is, I<strlen(src) + 1>. For the "
567 "difference between the two functions, see RETURN VALUE."
568 msgstr ""
569 "Ces fonctions copient la chaîne pointée par I<src> dans une chaîne dans le "
570 "tampon pointé par I<dst>. Le programmeur est responsable de l'allocation "
571 "d'un tampon de destination suffisamment grand, c'est-à-dire I<strlen(src)\\ +"
572 "\\ 1>. Pour la différence entre les deux fonctions voir VALEUR RENVOYÉE."
573
574 #. type: Plain text
575 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
576 msgid "An implementation of these functions might be:"
577 msgstr "Une implémentation de ces fonctions pourrait être :"
578
579 #. type: Plain text
580 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
581 #, no-wrap
582 msgid ""
583 "char *\n"
584 "stpcpy(char *restrict dst, const char *restrict src)\n"
585 "{\n"
586 " char *p;\n"
587 "\\&\n"
588 " p = mempcpy(dst, src, strlen(src));\n"
589 " *p = \\[aq]\\[rs]0\\[aq];\n"
590 "\\&\n"
591 " return p;\n"
592 "}\n"
593 "\\&\n"
594 "char *\n"
595 "strcpy(char *restrict dst, const char *restrict src)\n"
596 "{\n"
597 " stpcpy(dst, src);\n"
598 " return dst;\n"
599 "}\n"
600 "\\&\n"
601 "char *\n"
602 "strcat(char *restrict dst, const char *restrict src)\n"
603 "{\n"
604 " stpcpy(dst + strlen(dst), src);\n"
605 " return dst;\n"
606 "}\n"
607 msgstr ""
608 "char *\n"
609 "stpcpy(char *restrict dst, const char *restrict src)\n"
610 "{\n"
611 " char *p;\n"
612 "\\&\n"
613 " p = mempcpy(dst, src, strlen(src));\n"
614 " *p = \\[aq]\\[rs]0\\[aq];\n"
615 "\\&\n"
616 " return p;\n"
617 "}\n"
618 "\\&\n"
619 "char *\n"
620 "strcpy(char *restrict dst, const char *restrict src)\n"
621 "{\n"
622 " stpcpy(dst, src);\n"
623 " return dst;\n"
624 "}\n"
625 "\\&\n"
626 "char *\n"
627 "strcat(char *restrict dst, const char *restrict src)\n"
628 "{\n"
629 " stpcpy(dst + strlen(dst), src);\n"
630 " return dst;\n"
631 "}\n"
632
633 #. type: Plain text
634 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
635 msgid ""
636 "This function returns a pointer to the terminating null byte of the copied "
637 "string."
638 msgstr ""
639 "Cette fonction renvoie un pointeur vers l'octet NULL final de la chaîne "
640 "copiée."
641
642 #. type: tbl table
643 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
644 #, no-wrap
645 msgid ""
646 "B<stpcpy>(),\n"
647 "B<strcpy>(),\n"
648 "B<strcat>()"
649 msgstr ""
650 "B<stpcpy>(),\n"
651 "B<strcpy>(),\n"
652 "B<strcat>()"
653
654 #. type: Plain text
655 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
656 msgid "POSIX.1-2008."
657 msgstr "POSIX.1-2008."
658
659 #. type: Plain text
660 #: debian-trixie fedora-44 fedora-rawhide
661 msgid ""
662 "B<strcat>() can be very inefficient. Read about E<.UR https://"
663 "www.joelonsoftware.com/\\:2001/12/11/\\:back-to-basics/> Shlemiel the "
664 "painter E<.UE .>"
665 msgstr ""
666 "B<strcat>() peut être très inefficace. Lire à ce sujet E<.UR https://"
667 "www.joelonsoftware.com/\\:2001/12/11/\\:back-to-basics/> Shlemiel the "
668 "painter E<.UE .>"
669
670 #. type: Plain text
671 #: debian-trixie
672 #, no-wrap
673 msgid ""
674 "#include E<lt>err.hE<gt>\n"
675 "#include E<lt>stdio.hE<gt>\n"
676 "#include E<lt>stdlib.hE<gt>\n"
677 "#include E<lt>string.hE<gt>\n"
678 "\\&\n"
679 "int\n"
680 "main(void)\n"
681 "{\n"
682 " char *p;\n"
683 " char *buf1;\n"
684 " char *buf2;\n"
685 " size_t len, maxsize;\n"
686 "\\&\n"
687 " maxsize = strlen(\"Hello \") + strlen(\"world\") + strlen(\"!\") + 1;\n"
688 " buf1 = malloc(sizeof(*buf1) * maxsize);\n"
689 " if (buf1 == NULL)\n"
690 " err(EXIT_FAILURE, \"malloc()\");\n"
691 " buf2 = malloc(sizeof(*buf2) * maxsize);\n"
692 " if (buf2 == NULL)\n"
693 " err(EXIT_FAILURE, \"malloc()\");\n"
694 "\\&\n"
695 " p = buf1;\n"
696 " p = stpcpy(p, \"Hello \");\n"
697 " p = stpcpy(p, \"world\");\n"
698 " p = stpcpy(p, \"!\");\n"
699 " len = p - buf1;\n"
700 "\\&\n"
701 " printf(\"[len = %zu]: \", len);\n"
702 " puts(buf1); // \"Hello world!\"\n"
703 " free(buf1);\n"
704 "\\&\n"
705 " strcpy(buf2, \"Hello \");\n"
706 " strcat(buf2, \"world\");\n"
707 " strcat(buf2, \"!\");\n"
708 " len = strlen(buf2);\n"
709 "\\&\n"
710 " printf(\"[len = %zu]: \", len);\n"
711 " puts(buf2); // \"Hello world!\"\n"
712 " free(buf2);\n"
713 "\\&\n"
714 " exit(EXIT_SUCCESS);\n"
715 "}\n"
716 msgstr ""
717 "#include E<lt>err.hE<gt>\n"
718 "#include E<lt>stdio.hE<gt>\n"
719 "#include E<lt>stdlib.hE<gt>\n"
720 "#include E<lt>string.hE<gt>\n"
721 "\\&\n"
722 "int\n"
723 "main(void)\n"
724 "{\n"
725 " char *p;\n"
726 " char *buf1;\n"
727 " char *buf2;\n"
728 " size_t len, maxsize;\n"
729 "\\&\n"
730 " maxsize = strlen(\"Hello \") + strlen(\"world\") + strlen(\"!\") + 1;\n"
731 " buf1 = malloc(sizeof(*buf1) * maxsize);\n"
732 " if (buf1 == NULL)\n"
733 " err(EXIT_FAILURE, \"malloc()\");\n"
734 " buf2 = malloc(sizeof(*buf2) * maxsize);\n"
735 " if (buf2 == NULL)\n"
736 " err(EXIT_FAILURE, \"malloc()\");\n"
737 "\\&\n"
738 " p = buf1;\n"
739 " p = stpcpy(p, \"Hello \");\n"
740 " p = stpcpy(p, \"world\");\n"
741 " p = stpcpy(p, \"!\");\n"
742 " len = p - buf1;\n"
743 "\\&\n"
744 " printf(\"[len = %zu]: \", len);\n"
745 " puts(buf1); // \"Hello world!\"\n"
746 " free(buf1);\n"
747 "\\&\n"
748 " strcpy(buf2, \"Hello \");\n"
749 " strcat(buf2, \"world\");\n"
750 " strcat(buf2, \"!\");\n"
751 " len = strlen(buf2);\n"
752 "\\&\n"
753 " printf(\"[len = %zu]: \", len);\n"
754 " puts(buf2); // \"Hello world!\"\n"
755 " free(buf2);\n"
756 "\\&\n"
757 " exit(EXIT_SUCCESS);\n"
758 "}\n"
759
760 #. type: Plain text
761 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
762 msgid "B<strdup>(3), B<string>(3), B<wcscpy>(3), B<string_copying>(7)"
763 msgstr "B<strdup>(3), B<string>(3), B<wcscpy>(3), B<string_copying>(7)"
764
765 #. type: TH
766 #: fedora-44 fedora-rawhide
767 #, no-wrap
768 msgid "2024-11-17"
769 msgstr "17 novembre 2024"
770
771 #. type: TH
772 #: fedora-44 fedora-rawhide
773 #, no-wrap
774 msgid "Linux man-pages 6.13"
775 msgstr "Pages du manuel de Linux 6.13"
776
777 #. type: Plain text
778 #: fedora-44 fedora-rawhide mageia-cauldron
779 #, no-wrap
780 msgid ""
781 "#include E<lt>err.hE<gt>\n"
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 "\\&\n"
786 "int\n"
787 "main(void)\n"
788 "{\n"
789 " char *p;\n"
790 " char *buf1;\n"
791 " char *buf2;\n"
792 " size_t len, size;\n"
793 "\\&\n"
794 " size = strlen(\"Hello \") + strlen(\"world\") + strlen(\"!\") + 1;\n"
795 " buf1 = malloc(sizeof(*buf1) * size);\n"
796 " if (buf1 == NULL)\n"
797 " err(EXIT_FAILURE, \"malloc()\");\n"
798 " buf2 = malloc(sizeof(*buf2) * size);\n"
799 " if (buf2 == NULL)\n"
800 " err(EXIT_FAILURE, \"malloc()\");\n"
801 "\\&\n"
802 " p = buf1;\n"
803 " p = stpcpy(p, \"Hello \");\n"
804 " p = stpcpy(p, \"world\");\n"
805 " p = stpcpy(p, \"!\");\n"
806 " len = p - buf1;\n"
807 "\\&\n"
808 " printf(\"[len = %zu]: \", len);\n"
809 " puts(buf1); // \"Hello world!\"\n"
810 " free(buf1);\n"
811 "\\&\n"
812 " strcpy(buf2, \"Hello \");\n"
813 " strcat(buf2, \"world\");\n"
814 " strcat(buf2, \"!\");\n"
815 " len = strlen(buf2);\n"
816 "\\&\n"
817 " printf(\"[len = %zu]: \", len);\n"
818 " puts(buf2); // \"Hello world!\"\n"
819 " free(buf2);\n"
820 "\\&\n"
821 " exit(EXIT_SUCCESS);\n"
822 "}\n"
823 msgstr ""
824 "#include E<lt>err.hE<gt>\n"
825 "#include E<lt>stdio.hE<gt>\n"
826 "#include E<lt>stdlib.hE<gt>\n"
827 "#include E<lt>string.hE<gt>\n"
828 "\\&\n"
829 "int\n"
830 "main(void)\n"
831 "{\n"
832 " char *p;\n"
833 " char *buf1;\n"
834 " char *buf2;\n"
835 " size_t len, size;\n"
836 "\\&\n"
837 " size = strlen(\"Hello \") + strlen(\"world\") + strlen(\"!\") + 1;\n"
838 " buf1 = malloc(sizeof(*buf1) * size);\n"
839 " if (buf1 == NULL)\n"
840 " err(EXIT_FAILURE, \"malloc()\");\n"
841 " buf2 = malloc(sizeof(*buf2) * size);\n"
842 " if (buf2 == NULL)\n"
843 " err(EXIT_FAILURE, \"malloc()\");\n"
844 "\\&\n"
845 " p = buf1;\n"
846 " p = stpcpy(p, \"Hello \");\n"
847 " p = stpcpy(p, \"world\");\n"
848 " p = stpcpy(p, \"!\");\n"
849 " len = p - buf1;\n"
850 "\\&\n"
851 " printf(\"[len = %zu]: \", len);\n"
852 " puts(buf1); // \"Hello world!\"\n"
853 " free(buf1);\n"
854 "\\&\n"
855 " strcpy(buf2, \"Hello \");\n"
856 " strcat(buf2, \"world\");\n"
857 " strcat(buf2, \"!\");\n"
858 " len = strlen(buf2);\n"
859 "\\&\n"
860 " printf(\"[len = %zu]: \", len);\n"
861 " puts(buf2); // \"Hello world!\"\n"
862 " free(buf2);\n"
863 "\\&\n"
864 " exit(EXIT_SUCCESS);\n"
865 "}\n"
866
867 #. type: TH
868 #: mageia-cauldron
869 #, no-wrap
870 msgid "2025-12-25"
871 msgstr "25 décembre 2025"
872
873 #. type: TH
874 #: mageia-cauldron
875 #, no-wrap
876 msgid "Linux man-pages 6.17"
877 msgstr "Pages du manuel de Linux 6.17"
878
879 #. type: TH
880 #: opensuse-leap-16-1 opensuse-tumbleweed
881 #, no-wrap
882 msgid "Linux man-pages (unreleased)"
883 msgstr "Pages du manuel de Linux (non publiées)"