# French translation of manpages
# This file is distributed under the same license as the manpages-l10n package.
# Copyright © of this file:
# Christophe Blaess , 1996-2003.
# Stéphan Rafin , 2002.
# Thierry Vignaud , 1999, 2002.
# François Micaux, 2002.
# Alain Portal , 2003-2008.
# Jean-Philippe Guérard , 2005-2006.
# Jean-Luc Coulon (f5ibh) , 2006-2007.
# Julien Cristau , 2006-2007.
# Thomas Huriaux , 2006-2008.
# Nicolas François , 2006-2008.
# Florentin Duneau , 2006-2010.
# Simon Paillard , 2006.
# Denis Barbier , 2006, 2010.
# David Prévot , 2010-2012, 2014.
# Frédéric Hantrais , 2013, 2014.
# Grégoire Scano , 2020.
msgid ""
msgstr ""
"Project-Id-Version: perkamon\n"
"POT-Creation-Date: 2023-08-27 17:24+0200\n"
"PO-Revision-Date: 2023-03-20 18:33+0100\n"
"Last-Translator: Grégoire Scano \n"
"Language-Team: French \n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Lokalize 22.12.1\n"
#. type: TH
#: opensuse-leap-15-6
#, no-wrap
msgid "STRCAT"
msgstr "STRCAT"
#. type: TH
#: opensuse-leap-15-6
#, no-wrap
msgid "2017-09-15"
msgstr "15 septembre 2017"
#. type: TH
#: opensuse-leap-15-6
#, no-wrap
msgid "GNU"
msgstr "GNU"
#. type: TH
#: opensuse-leap-15-6
#, no-wrap
msgid "Linux Programmer's Manual"
msgstr "Manuel du programmeur Linux"
#. type: SH
#: opensuse-leap-15-6
#, no-wrap
msgid "NAME"
msgstr "NOM"
#. type: Plain text
#: opensuse-leap-15-6
msgid "strcat, strncat - concatenate two strings"
msgstr "strcat, strncat - Concaténer deux chaînes"
#. type: SH
#: opensuse-leap-15-6
#, no-wrap
msgid "SYNOPSIS"
msgstr "SYNOPSIS"
#. type: Plain text
#: opensuse-leap-15-6
#, no-wrap
msgid "B<#include Estring.hE>\n"
msgstr "B<#include Estring.hE>\n"
#. type: Plain text
#: opensuse-leap-15-6
#, no-wrap
msgid "BIB<, const char *>IB<);>\n"
msgstr "BIB<, const char *>IB<);>\n"
#. type: Plain text
#: opensuse-leap-15-6
#, no-wrap
msgid "BIB<, const char *>IB<, size_t >IB<);>\n"
msgstr "BIB<, const char *>IB<, size_t >IB<);>\n"
#. type: SH
#: opensuse-leap-15-6
#, no-wrap
msgid "DESCRIPTION"
msgstr "DESCRIPTION"
#. type: Plain text
#: opensuse-leap-15-6
msgid ""
"The B() function appends the I string to the I string, "
"overwriting the terminating null byte (\\(aq\\e0\\(aq) at the end of "
"I, and then adds a terminating null byte. The strings may not "
"overlap, and the I string must have enough space for the result. If "
"I is not large enough, program behavior is unpredictable; I."
msgstr ""
"La fonction B() ajoute la chaîne I à la fin de la chaîne "
"I en écrasant l'octet NULL final («\\ \\e0\\ ») à la fin de I, "
"puis en ajoutant un nouvel octet NULL final. Les chaînes ne doivent pas se "
"chevaucher, et la chaîne I doit être assez grande pour accueillir le "
"résultat. Si I n'est pas assez grande, le comportement du programme "
"est imprévisible. I."
#. type: Plain text
#: opensuse-leap-15-6
msgid "The B() function is similar, except that"
msgstr "La fonction B() est similaire, à la différence que :"
#. type: IP
#: opensuse-leap-15-6
#, no-wrap
msgid "*"
msgstr "*"
#. type: Plain text
#: opensuse-leap-15-6
msgid "it will use at most I bytes from I; and"
msgstr "elle ne prend en compte que les I premiers octets de I ;"
#. type: Plain text
#: opensuse-leap-15-6
msgid ""
"I does not need to be null-terminated if it contains I or more bytes."
msgstr ""
"I n'a pas besoin d'être terminée par NULL si elle contient au moins "
"I octets."
#. type: Plain text
#: opensuse-leap-15-6
msgid ""
"As with B(), the resulting string in I is always null-"
"terminated."
msgstr ""
"Comme pour B(), la chaîne résultante dans I est toujours "
"terminée par NULL."
#. type: Plain text
#: opensuse-leap-15-6
msgid ""
"If I contains I or more bytes, B() writes I bytes to "
"I (I from I plus the terminating null byte). Therefore, the "
"size of I must be at least I."
msgstr ""
"Si I contient au moins I octets, B() écrit I octets "
"dans I (I octets de I plus l'octet NULL final). De ce fait, "
"I doit être au moins de taille I."
#. type: Plain text
#: opensuse-leap-15-6
msgid "A simple implementation of B() might be:"
msgstr "Une implémentation simple de B() pourrait être :"
#. type: Plain text
#: opensuse-leap-15-6
#, no-wrap
msgid ""
"char *\n"
"strncat(char *dest, const char *src, size_t n)\n"
"{\n"
" size_t dest_len = strlen(dest);\n"
" size_t i;\n"
msgstr ""
"char *\n"
"strncat(char *dest, const char *src, size_t n)\n"
"{\n"
" size_t dest_len = strlen(dest);\n"
" size_t i;\n"
#. type: Plain text
#: opensuse-leap-15-6
#, no-wrap
msgid ""
" for (i = 0 ; i E n && src[i] != \\(aq\\e0\\(aq ; i++)\n"
" dest[dest_len + i] = src[i];\n"
" dest[dest_len + i] = \\(aq\\e0\\(aq;\n"
msgstr ""
" for (i = 0 ; i E n && src[i] != \\(aq\\e0\\(aq ; i++)\n"
" dest[dest_len + i] = src[i];\n"
" dest[dest_len + i] = \\(aq\\e0\\(aq;\n"
#. type: Plain text
#: opensuse-leap-15-6
#, no-wrap
msgid ""
" return dest;\n"
"}\n"
msgstr ""
" return dest;\n"
"}\n"
#. type: SH
#: opensuse-leap-15-6
#, no-wrap
msgid "RETURN VALUE"
msgstr "VALEUR RENVOYÉE"
#. type: Plain text
#: opensuse-leap-15-6
msgid ""
"The B() and B() functions return a pointer to the "
"resulting string I."
msgstr ""
"Les fonctions B() et B() renvoient un pointeur sur la "
"chaîne résultat I."
#. type: SH
#: opensuse-leap-15-6
#, no-wrap
msgid "ATTRIBUTES"
msgstr "ATTRIBUTS"
#. type: Plain text
#: opensuse-leap-15-6
msgid ""
"For an explanation of the terms used in this section, see B(7)."
msgstr ""
"Pour une explication des termes utilisés dans cette section, consulter "
"B(7)."
#. type: tbl table
#: opensuse-leap-15-6
#, no-wrap
msgid "Interface"
msgstr "Interface"
#. type: tbl table
#: opensuse-leap-15-6
#, no-wrap
msgid "Attribute"
msgstr "Attribut"
#. type: tbl table
#: opensuse-leap-15-6
#, no-wrap
msgid "Value"
msgstr "Valeur"
#. type: tbl table
#: opensuse-leap-15-6
#, no-wrap
msgid ""
"B(),\n"
"B()"
msgstr ""
"B(),\n"
"B()"
#. type: tbl table
#: opensuse-leap-15-6
#, no-wrap
msgid "Thread safety"
msgstr "Sécurité des threads"
#. type: tbl table
#: opensuse-leap-15-6
#, no-wrap
msgid "MT-Safe"
msgstr "MT-Safe"
#. type: SH
#: opensuse-leap-15-6
#, no-wrap
msgid "CONFORMING TO"
msgstr "CONFORMITÉ"
#. type: Plain text
#: opensuse-leap-15-6
msgid "POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD."
msgstr "POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD."
#. type: SH
#: opensuse-leap-15-6
#, no-wrap
msgid "NOTES"
msgstr "NOTES"
#. type: Plain text
#: opensuse-leap-15-6
msgid ""
"Some systems (the BSDs, Solaris, and others) provide the following function:"
msgstr ""
"Certains systèmes (BSD, Solaris et autres) fournissent la fonction suivante :"
#. type: Plain text
#: opensuse-leap-15-6
#, no-wrap
msgid " size_t strlcat(char *dest, const char *src, size_t size);\n"
msgstr " size_t strlcat(char *dest, const char *src, size_t size);\n"
#. https://lwn.net/Articles/506530/
#. type: Plain text
#: opensuse-leap-15-6
msgid ""
"This function appends the null-terminated string I to the string "
"I, copying at most I from I, and adds a "
"terminating null byte to the result, I I is less than "
"I. This function fixes the buffer overrun problem of "
"B(), but the caller must still handle the possibility of data loss "
"if I is too small. The function returns the length of the string "
"B() tried to create; if the return value is greater than or equal "
"to I, data loss occurred. If data loss matters, the caller I "
"either check the arguments before the call, or test the function return "
"value. B() is not present in glibc and is not standardized by "
"POSIX, but is available on Linux via the I library."
msgstr ""
"Cette fonction ajoute la chaîne I, terminée par NULL, à la chaîne "
"I en copiant au plus I depuis I et ajoute "
"l'octet NULL en fin de chaîne au résultat I si I est inférieur à "
"I. Cette fonction corrige le problème de dépassement de tampon "
"de B(), mais l'appelant doit quand même gérer la possibilité de "
"pertes de données si I est trop petit. La fonction renvoie la longueur "
"de la chaîne que B() a essayé de créer. Si la valeur renvoyée est "
"supérieure ou égale à I, c'est qu'il y a eu perte de données. Si les "
"pertes de données sont problématiques, l'appelant I soit vérifier les "
"arguments avant l'appel, soit tester la valeur de retour de la fonction. "
"B() n'existe pas dans glibc et n'est pas normalisée par POSIX, mais "
"est disponible sous Linux avec la bibliothèque I."
#. type: SH
#: opensuse-leap-15-6
#, no-wrap
msgid "EXAMPLE"
msgstr "EXEMPLE"
#. type: Plain text
#: opensuse-leap-15-6
msgid ""
"Because B() and B() must find the null byte that "
"terminates the string I using a search that starts at the beginning of "
"the string, the execution time of these functions scales according to the "
"length of the string I. This can be demonstrated by running the "
"program below. (If the goal is to concatenate many strings to one target, "
"then manually copying the bytes from each source string while maintaining a "
"pointer to the end of the target string will provide better performance.)"
msgstr ""
"Parce que les fonctions B() et B() doivent rechercher "
"l'octet NULL qui termine I en partant du début de la chaîne, le temps "
"d'exécution de ces fonctions est linéaire en la longueur de la chaîne "
"I. Cela peut être mis en évidence avec le programme suivant (si "
"l'objectif est de concaténer de nombreuses chaînes dans une chaîne tierce, "
"la copie manuelle des octets de chacune de ces chaînes source tout en "
"maintenant un pointeur sur la fin de la chaîne cible donnera de meilleures "
"performances)."
#. type: SS
#: opensuse-leap-15-6
#, no-wrap
msgid "Program source"
msgstr "Source du programme"
#. type: Plain text
#: opensuse-leap-15-6
#, no-wrap
msgid ""
"#include Estring.hE\n"
"#include Etime.hE\n"
"#include Estdio.hE\n"
msgstr ""
"#include Estring.hE\n"
"#include Etime.hE\n"
"#include Estdio.hE\n"
#. type: Plain text
#: opensuse-leap-15-6
#, no-wrap
msgid ""
"int\n"
"main(int argc, char *argv[])\n"
"{\n"
"#define LIM 4000000\n"
" int j;\n"
" char p[LIM];\n"
" time_t base;\n"
msgstr ""
"int\n"
"main(int argc, char *argv[])\n"
"{\n"
"#define LIM 4000000\n"
" int j;\n"
" char p[LIM];\n"
" time_t base;\n"
#. type: Plain text
#: opensuse-leap-15-6
#, no-wrap
msgid ""
" base = time(NULL);\n"
" p[0] = \\(aq\\e0\\(aq;\n"
msgstr ""
" base = time(NULL);\n"
" p[0] = \\(aq\\e0\\(aq;\n"
#. type: Plain text
#: opensuse-leap-15-6
#, no-wrap
msgid ""
" for (j = 0; j E LIM; j++) {\n"
" if ((j % 10000) == 0)\n"
" printf(\"%d %ld\\en\", j, (long) (time(NULL) - base));\n"
" strcat(p, \"a\");\n"
" }\n"
"}\n"
msgstr ""
" for (j = 0; j E LIM; j++) {\n"
" if ((j % 10000) == 0)\n"
" printf(\"%d %ld\\en\", j, (long) (time(NULL) - base));\n"
" strcat(p, \"a\");\n"
" }\n"
"}\n"
#. type: SH
#: opensuse-leap-15-6
#, no-wrap
msgid "SEE ALSO"
msgstr "VOIR AUSSI"
#. type: Plain text
#: opensuse-leap-15-6
msgid ""
"B(3), B(3), B(3), B(3), B(3), "
"B(3), B(3), B(3)"
msgstr ""
"B(3), B(3), B(3), B(3), B(3), "
"B(3), B(3), B(3)"
#. type: SH
#: opensuse-leap-15-6
#, no-wrap
msgid "COLOPHON"
msgstr "COLOPHON"
#. type: Plain text
#: opensuse-leap-15-6
msgid ""
"This page is part of release 4.16 of the Linux I project. A "
"description of the project, information about reporting bugs, and the latest "
"version of this page, can be found at \\%https://www.kernel.org/doc/man-"
"pages/."
msgstr ""
"Cette page fait partie de la publication 4.16 du projet I Linux. "
"Une description du projet et des instructions pour signaler des anomalies et "
"la dernière version de cette page peuvent être trouvées à l'adresse \\"
"%https://www.kernel.org/doc/man-pages/."