| 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 |
msgid "" |
| 21 |
msgstr "" |
| 22 |
"Project-Id-Version: manpages-l10n 4.22.0\n" |
| 23 |
"POT-Creation-Date: 2026-06-05 06:45+0200\n" |
| 24 |
"PO-Revision-Date: 2024-06-03 12:23+0200\n" |
| 25 |
"Last-Translator: Grégoire Scano <[email protected]>\n" |
| 26 |
"Language-Team: French <[email protected]>\n" |
| 27 |
"Language: fr\n" |
| 28 |
"MIME-Version: 1.0\n" |
| 29 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 30 |
"Content-Transfer-Encoding: 8bit\n" |
| 31 |
"Plural-Forms: nplurals=2; plural=n > 1;\n" |
| 32 |
"X-Generator: Lokalize 22.12.3\n" |
| 33 |
|
| 34 |
#. type: TH |
| 35 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 36 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 37 |
#, no-wrap |
| 38 |
msgid "strtok" |
| 39 |
msgstr "strtok" |
| 40 |
|
| 41 |
#. type: TH |
| 42 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "2026-02-25" |
| 45 |
msgstr "25 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-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
#, fuzzy |
| 63 |
#| msgid "strtok, strtok_r - extract tokens from strings" |
| 64 |
msgid "strtok - extract tokens from strings" |
| 65 |
msgstr "strtok, strtok_r - Extraire des séquences d'une chaîne" |
| 66 |
|
| 67 |
#. type: SH |
| 68 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 69 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 70 |
#, no-wrap |
| 71 |
msgid "LIBRARY" |
| 72 |
msgstr "BIBLIOTHÈQUE" |
| 73 |
|
| 74 |
#. type: Plain text |
| 75 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 76 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 77 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 78 |
msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)" |
| 79 |
|
| 80 |
#. type: SH |
| 81 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 82 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 83 |
#, no-wrap |
| 84 |
msgid "SYNOPSIS" |
| 85 |
msgstr "SYNOPSIS" |
| 86 |
|
| 87 |
#. type: Plain text |
| 88 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 89 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 90 |
#, no-wrap |
| 91 |
msgid "B<#include E<lt>string.hE<gt>>\n" |
| 92 |
msgstr "B<#include E<lt>string.hE<gt>>\n" |
| 93 |
|
| 94 |
#. type: Plain text |
| 95 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 96 |
#, no-wrap |
| 97 |
msgid "B<char *strtok(char *_Nullable restrict >I<str>B<, const char *restrict >I<delim>B<);>\n" |
| 98 |
msgstr "" |
| 99 |
|
| 100 |
#. type: SH |
| 101 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 102 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 103 |
#, no-wrap |
| 104 |
msgid "DESCRIPTION" |
| 105 |
msgstr "DESCRIPTION" |
| 106 |
|
| 107 |
#. type: Plain text |
| 108 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 109 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 110 |
msgid "" |
| 111 |
"The B<strtok>() function breaks a string into a sequence of zero or more " |
| 112 |
"nonempty tokens. On the first call to B<strtok>(), the string to be parsed " |
| 113 |
"should be specified in I<str>. In each subsequent call that should parse " |
| 114 |
"the same string, I<str> must be NULL." |
| 115 |
msgstr "" |
| 116 |
"La fonction B<strtok>() scinde une chaîne en une suite de zéro ou plusieurs " |
| 117 |
"séquences non vides. Lors du premier appel à B<strtok>(), la chaîne à " |
| 118 |
"scinder doit être spécifiée dans I<str>. Dans chaque appel ultérieur fait " |
| 119 |
"pour analyser la même chaîne, I<str> doit être NULL." |
| 120 |
|
| 121 |
#. type: Plain text |
| 122 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 123 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 124 |
msgid "" |
| 125 |
"The I<delim> argument specifies a set of bytes that delimit the tokens in " |
| 126 |
"the parsed string. The caller may specify different strings in I<delim> in " |
| 127 |
"successive calls that parse the same string." |
| 128 |
msgstr "" |
| 129 |
"L'argument I<delim> indique l’ensemble des octets qui délimitent les " |
| 130 |
"séquences dans la chaîne à analyser. La chaîne de séparateurs I<delim> peut " |
| 131 |
"être différente à chaque appel sur la même chaîne." |
| 132 |
|
| 133 |
#. type: Plain text |
| 134 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 135 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 136 |
msgid "" |
| 137 |
"Each call to B<strtok>() returns a pointer to a null-terminated string " |
| 138 |
"containing the next token. This string does not include the delimiting " |
| 139 |
"byte. If no more tokens are found, B<strtok>() returns NULL." |
| 140 |
msgstr "" |
| 141 |
"Chaque appel à B<strtok>() renvoie un pointeur sur une chaîne terminée par " |
| 142 |
"un octet NULL contenant la séquence suivante. Cette chaîne n'inclut pas le " |
| 143 |
"séparateur. S'il n'y a plus de séquences, B<strtok> renvoie NULL." |
| 144 |
|
| 145 |
#. type: Plain text |
| 146 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 147 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 148 |
msgid "" |
| 149 |
"A sequence of calls to B<strtok>() that operate on the same string " |
| 150 |
"maintains a pointer that determines the point from which to start searching " |
| 151 |
"for the next token. The first call to B<strtok>() sets this pointer to " |
| 152 |
"point to the first byte of the string. The start of the next token is " |
| 153 |
"determined by scanning forward for the next nondelimiter byte in I<str>. If " |
| 154 |
"such a byte is found, it is taken as the start of the next token. If no " |
| 155 |
"such byte is found, then there are no more tokens, and B<strtok>() returns " |
| 156 |
"NULL. (A string that is empty or that contains only delimiters will thus " |
| 157 |
"cause B<strtok>() to return NULL on the first call.)" |
| 158 |
msgstr "" |
| 159 |
"Une suite d'appels à B<strtok>() qui s'exécute sur la même chaîne gère un " |
| 160 |
"pointeur qui indique le point de départ de la recherche pour la séquence " |
| 161 |
"suivante. Le premier appel à B<strtok>() positionne ce pointeur sur le " |
| 162 |
"premier octet de la chaîne. Le début de la séquence suivante est déterminé " |
| 163 |
"en parcourant I<str> jusqu'à l'octet suivant qui ne soit pas un séparateur. " |
| 164 |
"Lorsqu'un tel octet est rencontré, il est pris comme point de départ de la " |
| 165 |
"séquence suivante. Si aucun octet n’est trouvé qui ne soit pas un " |
| 166 |
"séparateur, alors il n'y a plus de séquence dans la chaîne et B<strtok>() " |
| 167 |
"renvoie NULL. (Ainsi, pour une chaîne vide ou qui ne contient que des " |
| 168 |
"séparateurs, B<strtok>() renverra NULL dès le premier appel)." |
| 169 |
|
| 170 |
#. type: Plain text |
| 171 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 172 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 173 |
msgid "" |
| 174 |
"The end of each token is found by scanning forward until either the next " |
| 175 |
"delimiter byte is found or until the terminating null byte (\\[aq]\\[rs]0\\" |
| 176 |
"[aq]) is encountered. If a delimiter byte is found, it is overwritten with " |
| 177 |
"a null byte to terminate the current token, and B<strtok>() saves a pointer " |
| 178 |
"to the following byte; that pointer will be used as the starting point when " |
| 179 |
"searching for the next token. In this case, B<strtok>() returns a pointer " |
| 180 |
"to the start of the found token." |
| 181 |
msgstr "" |
| 182 |
"La fin de chaque séquence est déterminée en parcourant la chaîne jusqu'à ce " |
| 183 |
"que l'octet suivant soit un délimiteur, ou jusqu'à ce qu'on rencontre " |
| 184 |
"l'octet NULL final («\\ \\[rs]0\\ »). Si un délimiteur est trouvé, il est " |
| 185 |
"écrasé par un octet NULL pour signifier la fin de la séquence en cours de " |
| 186 |
"détermination, et B<strtok>() positionne un pointeur sur l'octet suivant ; " |
| 187 |
"ce pointeur marque le point de départ de la recherche de la séquence " |
| 188 |
"suivante. Dans ce cas, B<strtok>() renvoie un pointeur vers le début de la " |
| 189 |
"séquence qui vient d'être isolée." |
| 190 |
|
| 191 |
#. type: Plain text |
| 192 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 193 |
#: opensuse-tumbleweed |
| 194 |
#, fuzzy |
| 195 |
#| msgid "" |
| 196 |
#| "From the above description, it follows that a sequence of two or more " |
| 197 |
#| "contiguous delimiter bytes in the parsed string is considered to be a " |
| 198 |
#| "single delimiter, and that delimiter bytes at the start or end of the " |
| 199 |
#| "string are ignored. Put another way: the tokens returned by B<strtok>() " |
| 200 |
#| "are always nonempty strings. Thus, for example, given the string " |
| 201 |
#| "\"I<aaa;;bbb,>\", successive calls to B<strtok>() that specify the " |
| 202 |
#| "delimiter string \"I<;,>\" would return the strings \"I<aaa>\" and " |
| 203 |
#| "\"I<bbb>\", and then a null pointer." |
| 204 |
msgid "" |
| 205 |
"From the above description, it follows that a sequence of two or more " |
| 206 |
"contiguous delimiter bytes in the parsed string is considered to be a single " |
| 207 |
"delimiter, and that delimiter bytes at the start or end of the string are " |
| 208 |
"ignored. Put another way: the tokens returned by B<strtok>() are always " |
| 209 |
"nonempty strings. Thus, for example, given the string \\[dq]I<aaa;;bbb,>\\" |
| 210 |
"[dq], successive calls to B<strtok>() that specify the delimiter string \\" |
| 211 |
"[dq]I<;,>\\[dq] would return the strings \\[dq]I<aaa>\\[dq] and \\" |
| 212 |
"[dq]I<bbb>\\[dq], and then a null pointer." |
| 213 |
msgstr "" |
| 214 |
"De ce qui précède, il découle qu'une suite de deux séparateurs contigus ou " |
| 215 |
"plus est considérée comme un seul séparateur et que les séparateurs en début " |
| 216 |
"et en fin de chaîne sont ignorés. Les séquences renvoyées par B<strtok>() " |
| 217 |
"sont toujours des chaînes non vides. Si l'on considère par exemple la chaîne " |
| 218 |
"«I<aaa;;bbb,>», les appels successifs à B<strtok>() pour lequel le " |
| 219 |
"séparateur serait «I<;,>» renverraient les chaînes «I<aaa>» et «I<bbb>», " |
| 220 |
"puis un pointeur NULL." |
| 221 |
|
| 222 |
#. type: SH |
| 223 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 224 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 225 |
#, no-wrap |
| 226 |
msgid "RETURN VALUE" |
| 227 |
msgstr "VALEUR RENVOYÉE" |
| 228 |
|
| 229 |
#. type: Plain text |
| 230 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 231 |
#, fuzzy |
| 232 |
#| msgid "" |
| 233 |
#| "The B<strtok>() and B<strtok_r>() functions return a pointer to the " |
| 234 |
#| "next token, or NULL if there are no more tokens." |
| 235 |
msgid "" |
| 236 |
"B<strtok>() returns a pointer to the next token, or NULL if there are no " |
| 237 |
"more tokens." |
| 238 |
msgstr "" |
| 239 |
"Les fonctions B<strtok>() et B<strtok_r>() renvoient un pointeur sur la " |
| 240 |
"séquence suivante, ou NULL s'il n'y en a plus." |
| 241 |
|
| 242 |
#. type: SH |
| 243 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 244 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 245 |
#, no-wrap |
| 246 |
msgid "ATTRIBUTES" |
| 247 |
msgstr "ATTRIBUTS" |
| 248 |
|
| 249 |
#. type: Plain text |
| 250 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 251 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 252 |
msgid "" |
| 253 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 254 |
msgstr "" |
| 255 |
"Pour une explication des termes utilisés dans cette section, consulter " |
| 256 |
"B<attributes>(7)." |
| 257 |
|
| 258 |
#. type: tbl table |
| 259 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 260 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 261 |
#, no-wrap |
| 262 |
msgid "Interface" |
| 263 |
msgstr "Interface" |
| 264 |
|
| 265 |
#. type: tbl table |
| 266 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 267 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 268 |
#, no-wrap |
| 269 |
msgid "Attribute" |
| 270 |
msgstr "Attribut" |
| 271 |
|
| 272 |
#. type: tbl table |
| 273 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 274 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 275 |
#, no-wrap |
| 276 |
msgid "Value" |
| 277 |
msgstr "Valeur" |
| 278 |
|
| 279 |
#. type: tbl table |
| 280 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 281 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 282 |
#, no-wrap |
| 283 |
msgid ".na\n" |
| 284 |
msgstr ".na\n" |
| 285 |
|
| 286 |
#. type: tbl table |
| 287 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 288 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 289 |
#, no-wrap |
| 290 |
msgid ".nh\n" |
| 291 |
msgstr ".nh\n" |
| 292 |
|
| 293 |
#. #-#-#-#-# archlinux: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 294 |
#. type: tbl table |
| 295 |
#. #-#-#-#-# debian-trixie: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 296 |
#. type: TP |
| 297 |
#. #-#-#-#-# debian-unstable: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 298 |
#. type: tbl table |
| 299 |
#. #-#-#-#-# fedora-44: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 300 |
#. type: TP |
| 301 |
#. #-#-#-#-# fedora-rawhide: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 302 |
#. type: TP |
| 303 |
#. #-#-#-#-# mageia-cauldron: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 304 |
#. type: TP |
| 305 |
#. #-#-#-#-# opensuse-leap-16-1: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 306 |
#. type: tbl table |
| 307 |
#. #-#-#-#-# opensuse-tumbleweed: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 308 |
#. type: tbl table |
| 309 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 310 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 311 |
#, no-wrap |
| 312 |
msgid "B<strtok>()" |
| 313 |
msgstr "B<strtok>()" |
| 314 |
|
| 315 |
#. type: tbl table |
| 316 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 317 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 318 |
#, no-wrap |
| 319 |
msgid "Thread safety" |
| 320 |
msgstr "Sécurité des threads" |
| 321 |
|
| 322 |
#. type: tbl table |
| 323 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 324 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 325 |
#, no-wrap |
| 326 |
msgid "MT-Unsafe race:strtok" |
| 327 |
msgstr "MT-Unsafe race:strtok" |
| 328 |
|
| 329 |
#. type: SH |
| 330 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 331 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 332 |
#, no-wrap |
| 333 |
msgid "STANDARDS" |
| 334 |
msgstr "NORMES" |
| 335 |
|
| 336 |
#. type: Plain text |
| 337 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 338 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 339 |
msgid "C11, POSIX.1-2008." |
| 340 |
msgstr "C11, POSIX.1-2008." |
| 341 |
|
| 342 |
#. type: SH |
| 343 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 344 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 345 |
#, no-wrap |
| 346 |
msgid "HISTORY" |
| 347 |
msgstr "HISTORIQUE" |
| 348 |
|
| 349 |
#. type: Plain text |
| 350 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 351 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 352 |
msgid "POSIX.1-2001, C89, SVr4, 4.3BSD." |
| 353 |
msgstr "POSIX.1-2001, C89, SVr4, 4.3BSD." |
| 354 |
|
| 355 |
#. type: SH |
| 356 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 357 |
#, no-wrap |
| 358 |
msgid "CAVEATS" |
| 359 |
msgstr "" |
| 360 |
|
| 361 |
#. type: Plain text |
| 362 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 363 |
#, fuzzy |
| 364 |
#| msgid "" |
| 365 |
#| "Be cautious when using these functions. If you do use them, note that:" |
| 366 |
msgid "Be cautious when using this function. If you do use it, note that:" |
| 367 |
msgstr "" |
| 368 |
"Faites attention quand vous utilisez ces fonctions. Si vous les utilisez, " |
| 369 |
"prenez note des informations suivantes\\ :" |
| 370 |
|
| 371 |
#. type: IP |
| 372 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 373 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 374 |
#, no-wrap |
| 375 |
msgid "\\[bu]" |
| 376 |
msgstr "-" |
| 377 |
|
| 378 |
#. type: Plain text |
| 379 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 380 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 381 |
msgid "The identity of the delimiting byte is lost." |
| 382 |
msgstr "L'identité du délimiteur est perdue." |
| 383 |
|
| 384 |
#. type: Plain text |
| 385 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 386 |
#, fuzzy |
| 387 |
#| msgid "" |
| 388 |
#| "The B<strtok>() function uses a static buffer while parsing, so it's not " |
| 389 |
#| "thread safe. Use B<strtok_r>() if this matters to you." |
| 390 |
msgid "" |
| 391 |
"The B<strtok>() function uses a static buffer while parsing, so it's not " |
| 392 |
"thread safe. Use B<strtok_r>(3) if this matters to you." |
| 393 |
msgstr "" |
| 394 |
"La fonction B<strtok>() utilise un tampon statique et n'est donc pas sûre " |
| 395 |
"dans un contexte multithread. Dans ce cas, il vaut mieux utiliser " |
| 396 |
"B<strtok_r>()." |
| 397 |
|
| 398 |
#. type: SH |
| 399 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 400 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 401 |
#, no-wrap |
| 402 |
msgid "EXAMPLES" |
| 403 |
msgstr "EXEMPLES" |
| 404 |
|
| 405 |
#. type: Plain text |
| 406 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 407 |
#, fuzzy |
| 408 |
#| msgid "See B<aio>(7)." |
| 409 |
msgid "See B<getaddrinfo_a>(3)." |
| 410 |
msgstr "Voir B<aio>(7)." |
| 411 |
|
| 412 |
#. type: SH |
| 413 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 414 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 415 |
#, no-wrap |
| 416 |
msgid "SEE ALSO" |
| 417 |
msgstr "VOIR AUSSI" |
| 418 |
|
| 419 |
#. type: Plain text |
| 420 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 421 |
#, fuzzy |
| 422 |
#| msgid "" |
| 423 |
#| "B<memchr>(3), B<strchr>(3), B<string>(3), B<strpbrk>(3), B<strsep>(3), " |
| 424 |
#| "B<strspn>(3), B<strstr>(3), B<wcstok>(3)" |
| 425 |
msgid "" |
| 426 |
"B<memchr>(3), B<strchr>(3), B<string>(3), B<strpbrk>(3), B<strsep>(3), " |
| 427 |
"B<strspn>(3), B<strstr>(3), B<strtok_r>(3), B<wcstok>(3)" |
| 428 |
msgstr "" |
| 429 |
"B<memchr>(3), B<strchr>(3), B<string>(3), B<strpbrk>(3), B<strsep>(3), " |
| 430 |
"B<strspn>(3), B<strstr>(3), B<wcstok>(3)" |
| 431 |
|
| 432 |
#. type: TH |
| 433 |
#: debian-trixie |
| 434 |
#, no-wrap |
| 435 |
msgid "2024-06-16" |
| 436 |
msgstr "16 juin 2024" |
| 437 |
|
| 438 |
#. type: TH |
| 439 |
#: debian-trixie |
| 440 |
#, no-wrap |
| 441 |
msgid "Linux man-pages 6.9.1" |
| 442 |
msgstr "Pages du manuel de Linux 6.9.1" |
| 443 |
|
| 444 |
#. type: Plain text |
| 445 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 446 |
msgid "strtok, strtok_r - extract tokens from strings" |
| 447 |
msgstr "strtok, strtok_r - Extraire des séquences d'une chaîne" |
| 448 |
|
| 449 |
#. type: Plain text |
| 450 |
#: debian-trixie |
| 451 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 452 |
msgstr "Bibliothèque C standard (I<libc>, I<-lc>)" |
| 453 |
|
| 454 |
#. type: Plain text |
| 455 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 456 |
#, no-wrap |
| 457 |
msgid "" |
| 458 |
"B<char *strtok(char *_Nullable restrict >I<str>B<, const char *restrict >I<delim>B<);>\n" |
| 459 |
"B<char *strtok_r(char *_Nullable restrict >I<str>B<, const char *restrict >I<delim>B<,>\n" |
| 460 |
"B< char **restrict >I<saveptr>B<);>\n" |
| 461 |
msgstr "" |
| 462 |
"B<char *strtok(char *_Nullable restrict >I<str>B<, const char *restrict >I<delim>B<);>\n" |
| 463 |
"B<char *strtok_r(char *_Nullable restrict >I<str>B<, const char *restrict >I<delim>B<,>\n" |
| 464 |
"B< char **restrict >I<saveptr>B<);>\n" |
| 465 |
|
| 466 |
#. type: Plain text |
| 467 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 468 |
msgid "" |
| 469 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 470 |
msgstr "" |
| 471 |
"Exigences de macros de test de fonctionnalités pour la glibc (consulter " |
| 472 |
"B<feature_test_macros>(7)) :" |
| 473 |
|
| 474 |
#. type: Plain text |
| 475 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 476 |
msgid "B<strtok_r>():" |
| 477 |
msgstr "B<strtok_r>() :" |
| 478 |
|
| 479 |
#. type: Plain text |
| 480 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 481 |
#, no-wrap |
| 482 |
msgid "" |
| 483 |
" _POSIX_C_SOURCE\n" |
| 484 |
" || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n" |
| 485 |
msgstr "" |
| 486 |
" _POSIX_C_SOURCE\n" |
| 487 |
" || /* glibc E<lt>= 2.19 : */ _BSD_SOURCE || _SVID_SOURCE\n" |
| 488 |
|
| 489 |
#. type: Plain text |
| 490 |
#: debian-trixie fedora-44 fedora-rawhide |
| 491 |
msgid "" |
| 492 |
"From the above description, it follows that a sequence of two or more " |
| 493 |
"contiguous delimiter bytes in the parsed string is considered to be a single " |
| 494 |
"delimiter, and that delimiter bytes at the start or end of the string are " |
| 495 |
"ignored. Put another way: the tokens returned by B<strtok>() are always " |
| 496 |
"nonempty strings. Thus, for example, given the string \"I<aaa;;bbb,>\", " |
| 497 |
"successive calls to B<strtok>() that specify the delimiter string \"I<;,>\" " |
| 498 |
"would return the strings \"I<aaa>\" and \"I<bbb>\", and then a null pointer." |
| 499 |
msgstr "" |
| 500 |
"De ce qui précède, il découle qu'une suite de deux séparateurs contigus ou " |
| 501 |
"plus est considérée comme un seul séparateur et que les séparateurs en début " |
| 502 |
"et en fin de chaîne sont ignorés. Les séquences renvoyées par B<strtok>() " |
| 503 |
"sont toujours des chaînes non vides. Si l'on considère par exemple la chaîne " |
| 504 |
"«I<aaa;;bbb,>», les appels successifs à B<strtok>() pour lequel le " |
| 505 |
"séparateur serait «I<;,>» renverraient les chaînes «I<aaa>» et «I<bbb>», " |
| 506 |
"puis un pointeur NULL." |
| 507 |
|
| 508 |
#. type: Plain text |
| 509 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 510 |
msgid "" |
| 511 |
"The B<strtok_r>() function is a reentrant version of B<strtok>(). The " |
| 512 |
"I<saveptr> argument is a pointer to a I<char\\ *> variable that is used " |
| 513 |
"internally by B<strtok_r>() in order to maintain context between successive " |
| 514 |
"calls that parse the same string." |
| 515 |
msgstr "" |
| 516 |
"La fonction B<strtok_r>() est la version réentrante de la fonction " |
| 517 |
"B<strtok>(). L'argument I<saveptr> est un pointeur sur une variable I<char\\ " |
| 518 |
"*> utilisée de manière interne par B<strtok_r>() afin de maintenir le " |
| 519 |
"contexte entre les appels successifs qui analysent la même chaîne." |
| 520 |
|
| 521 |
#. type: Plain text |
| 522 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 523 |
msgid "" |
| 524 |
"On the first call to B<strtok_r>(), I<str> should point to the string to be " |
| 525 |
"parsed, and the value of I<*saveptr> is ignored (but see VERSIONS). In " |
| 526 |
"subsequent calls, I<str> should be NULL, and I<saveptr> (and the buffer that " |
| 527 |
"it points to) should be unchanged since the previous call." |
| 528 |
msgstr "" |
| 529 |
"Au premier appel de B<strtok_r>(), I<str> doit pointer sur la chaîne à " |
| 530 |
"analyser et la valeur de I<*saveptr> est ignorée (mais consultez VERSIONS). " |
| 531 |
"Dans les appels suivants, I<str> doit être NULL et I<saveptr> (et le tampon " |
| 532 |
"vers lequel il pointe) ne doit pas être modifié depuis le précédent appel." |
| 533 |
|
| 534 |
#. type: Plain text |
| 535 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 536 |
msgid "" |
| 537 |
"Different strings may be parsed concurrently using sequences of calls to " |
| 538 |
"B<strtok_r>() that specify different I<saveptr> arguments." |
| 539 |
msgstr "" |
| 540 |
"Différentes chaînes peuvent être analysées de manière concurrente en " |
| 541 |
"utilisant des suites d'appels à B<strtok_r>() qui spécifient différents " |
| 542 |
"arguments I<saveptr>." |
| 543 |
|
| 544 |
#. type: Plain text |
| 545 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 546 |
msgid "" |
| 547 |
"The B<strtok>() and B<strtok_r>() functions return a pointer to the next " |
| 548 |
"token, or NULL if there are no more tokens." |
| 549 |
msgstr "" |
| 550 |
"Les fonctions B<strtok>() et B<strtok_r>() renvoient un pointeur sur la " |
| 551 |
"séquence suivante, ou NULL s'il n'y en a plus." |
| 552 |
|
| 553 |
#. type: TP |
| 554 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 555 |
#, no-wrap |
| 556 |
msgid "B<strtok_r>()" |
| 557 |
msgstr "B<strtok_r>()" |
| 558 |
|
| 559 |
#. type: tbl table |
| 560 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 561 |
#, no-wrap |
| 562 |
msgid "MT-Safe" |
| 563 |
msgstr "MT-Safe" |
| 564 |
|
| 565 |
#. type: SH |
| 566 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 567 |
#, no-wrap |
| 568 |
msgid "VERSIONS" |
| 569 |
msgstr "VERSIONS" |
| 570 |
|
| 571 |
#. Tru64, according to its manual page |
| 572 |
#. type: Plain text |
| 573 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 574 |
msgid "" |
| 575 |
"On some implementations, I<*saveptr> is required to be NULL on the first " |
| 576 |
"call to B<strtok_r>() that is being used to parse I<str>." |
| 577 |
msgstr "" |
| 578 |
"Pour plusieurs implémentations, I<*saveptr> doit être NULL lors du premier " |
| 579 |
"appel à B<strtok_r>() utilisé pour analyser I<str>." |
| 580 |
|
| 581 |
#. type: Plain text |
| 582 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 583 |
msgid "POSIX.1-2008." |
| 584 |
msgstr "POSIX.1-2008." |
| 585 |
|
| 586 |
#. type: Plain text |
| 587 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 588 |
msgid "POSIX.1-2001." |
| 589 |
msgstr "POSIX.1-2001." |
| 590 |
|
| 591 |
#. type: SH |
| 592 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 593 |
#, no-wrap |
| 594 |
msgid "BUGS" |
| 595 |
msgstr "BOGUES" |
| 596 |
|
| 597 |
#. type: Plain text |
| 598 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 599 |
msgid "Be cautious when using these functions. If you do use them, note that:" |
| 600 |
msgstr "" |
| 601 |
"Faites attention quand vous utilisez ces fonctions. Si vous les utilisez, " |
| 602 |
"prenez note des informations suivantes\\ :" |
| 603 |
|
| 604 |
#. type: Plain text |
| 605 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 606 |
msgid "These functions modify their first argument." |
| 607 |
msgstr "Ces fonctions modifient leur premier paramètre." |
| 608 |
|
| 609 |
#. type: Plain text |
| 610 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 611 |
msgid "These functions cannot be used on constant strings." |
| 612 |
msgstr "" |
| 613 |
"Ces fonctions ne peuvent pas être utilisées avec des chaînes constantes." |
| 614 |
|
| 615 |
#. type: Plain text |
| 616 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 617 |
msgid "" |
| 618 |
"The B<strtok>() function uses a static buffer while parsing, so it's not " |
| 619 |
"thread safe. Use B<strtok_r>() if this matters to you." |
| 620 |
msgstr "" |
| 621 |
"La fonction B<strtok>() utilise un tampon statique et n'est donc pas sûre " |
| 622 |
"dans un contexte multithread. Dans ce cas, il vaut mieux utiliser " |
| 623 |
"B<strtok_r>()." |
| 624 |
|
| 625 |
#. type: Plain text |
| 626 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 627 |
msgid "" |
| 628 |
"The program below uses nested loops that employ B<strtok_r>() to break a " |
| 629 |
"string into a two-level hierarchy of tokens. The first command-line " |
| 630 |
"argument specifies the string to be parsed. The second argument specifies " |
| 631 |
"the delimiter byte(s) to be used to separate that string into \"major\" " |
| 632 |
"tokens. The third argument specifies the delimiter byte(s) to be used to " |
| 633 |
"separate the \"major\" tokens into subtokens." |
| 634 |
msgstr "" |
| 635 |
"Le programme ci-dessous utilise des boucles imbriquées qui utilisent " |
| 636 |
"B<strtok_r>() pour scinder une chaîne en une hiérarchie de séquences à deux " |
| 637 |
"niveaux. Le premier argument de la ligne de commande indique la chaîne à " |
| 638 |
"analyser. Le second argument indique le ou les séparateurs utilisés pour " |
| 639 |
"séparer la chaîne en séquences «\\ majeures\\ ». Le troisième argument " |
| 640 |
"indique le ou les séparateurs utilisés pour séparer les séquences «\\ " |
| 641 |
"majeures\\ » en sous-séquences." |
| 642 |
|
| 643 |
#. type: Plain text |
| 644 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 645 |
msgid "An example of the output produced by this program is the following:" |
| 646 |
msgstr "Voici un exemple de la sortie produite par ce programme\\ :" |
| 647 |
|
| 648 |
#. type: Plain text |
| 649 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 650 |
#, no-wrap |
| 651 |
msgid "" |
| 652 |
"$B< ./a.out \\[aq]a/bbb///cc;xxx:yyy:\\[aq] \\[aq]:;\\[aq] \\[aq]/\\[aq]>\n" |
| 653 |
"1: a/bbb///cc\n" |
| 654 |
" --E<gt> a\n" |
| 655 |
" --E<gt> bbb\n" |
| 656 |
" --E<gt> cc\n" |
| 657 |
"2: xxx\n" |
| 658 |
" --E<gt> xxx\n" |
| 659 |
"3: yyy\n" |
| 660 |
" --E<gt> yyy\n" |
| 661 |
msgstr "" |
| 662 |
"$B< ./a.out \\[aq]a/bbb///cc;xxx:yyy:\\[aq] \\[aq]:;\\[aq] \\[aq]/\\[aq]>\n" |
| 663 |
"1: a/bbb///cc\n" |
| 664 |
" --E<gt> a\n" |
| 665 |
" --E<gt> bbb\n" |
| 666 |
" --E<gt> cc\n" |
| 667 |
"2: xxx\n" |
| 668 |
" --E<gt> xxx\n" |
| 669 |
"3: yyy\n" |
| 670 |
" --E<gt> yyy\n" |
| 671 |
|
| 672 |
#. type: SS |
| 673 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 674 |
#, no-wrap |
| 675 |
msgid "Program source" |
| 676 |
msgstr "Source du programme" |
| 677 |
|
| 678 |
#. type: Plain text |
| 679 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 680 |
#, no-wrap |
| 681 |
msgid "" |
| 682 |
"#include E<lt>stdio.hE<gt>\n" |
| 683 |
"#include E<lt>stdlib.hE<gt>\n" |
| 684 |
"#include E<lt>string.hE<gt>\n" |
| 685 |
"\\&\n" |
| 686 |
"int\n" |
| 687 |
"main(int argc, char *argv[])\n" |
| 688 |
"{\n" |
| 689 |
" char *str1, *str2, *token, *subtoken;\n" |
| 690 |
" char *saveptr1, *saveptr2;\n" |
| 691 |
" int j;\n" |
| 692 |
"\\&\n" |
| 693 |
" if (argc != 4) {\n" |
| 694 |
" fprintf(stderr, \"Usage: %s string delim subdelim\\[rs]n\",\n" |
| 695 |
" argv[0]);\n" |
| 696 |
" exit(EXIT_FAILURE);\n" |
| 697 |
" }\n" |
| 698 |
"\\&\n" |
| 699 |
" for (j = 1, str1 = argv[1]; ; j++, str1 = NULL) {\n" |
| 700 |
" token = strtok_r(str1, argv[2], &saveptr1);\n" |
| 701 |
" if (token == NULL)\n" |
| 702 |
" break;\n" |
| 703 |
" printf(\"%d: %s\\[rs]n\", j, token);\n" |
| 704 |
"\\&\n" |
| 705 |
" for (str2 = token; ; str2 = NULL) {\n" |
| 706 |
" subtoken = strtok_r(str2, argv[3], &saveptr2);\n" |
| 707 |
" if (subtoken == NULL)\n" |
| 708 |
" break;\n" |
| 709 |
" printf(\"\\[rs]t --E<gt> %s\\[rs]n\", subtoken);\n" |
| 710 |
" }\n" |
| 711 |
" }\n" |
| 712 |
"\\&\n" |
| 713 |
" exit(EXIT_SUCCESS);\n" |
| 714 |
"}\n" |
| 715 |
msgstr "" |
| 716 |
"#include E<lt>stdio.hE<gt>\n" |
| 717 |
"#include E<lt>stdlib.hE<gt>\n" |
| 718 |
"#include E<lt>string.hE<gt>\n" |
| 719 |
"\\&\n" |
| 720 |
"int\n" |
| 721 |
"main(int argc, char *argv[])\n" |
| 722 |
"{\n" |
| 723 |
" char *str1, *str2, *token, *subtoken;\n" |
| 724 |
" char *saveptr1, *saveptr2;\n" |
| 725 |
" int j;\n" |
| 726 |
"\\&\n" |
| 727 |
" if (argc != 4) {\n" |
| 728 |
" fprintf(stderr, \"Utilisation : %s string delim subdelim\\[rs]n\",\n" |
| 729 |
" argv[0]);\n" |
| 730 |
" exit(EXIT_FAILURE);\n" |
| 731 |
" }\n" |
| 732 |
"\\&\n" |
| 733 |
" for (j = 1, str1 = argv[1]; ; j++, str1 = NULL) {\n" |
| 734 |
" token = strtok_r(str1, argv[2], &saveptr1);\n" |
| 735 |
" if (token == NULL)\n" |
| 736 |
" break;\n" |
| 737 |
" printf(\"%d: %s\\[rs]n\", j, token);\n" |
| 738 |
"\\&\n" |
| 739 |
" for (str2 = token; ; str2 = NULL) {\n" |
| 740 |
" subtoken = strtok_r(str2, argv[3], &saveptr2);\n" |
| 741 |
" if (subtoken == NULL)\n" |
| 742 |
" break;\n" |
| 743 |
" printf(\"\\[rs]t --E<gt> %s\\[rs]n\", subtoken);\n" |
| 744 |
" }\n" |
| 745 |
" }\n" |
| 746 |
"\\&\n" |
| 747 |
" exit(EXIT_SUCCESS);\n" |
| 748 |
"}\n" |
| 749 |
|
| 750 |
#. type: Plain text |
| 751 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 752 |
msgid "" |
| 753 |
"Another example program using B<strtok>() can be found in " |
| 754 |
"B<getaddrinfo_a>(3)." |
| 755 |
msgstr "" |
| 756 |
"Un autre exemple de programme qui utilise B<strtok>() se trouve dans " |
| 757 |
"B<getaddrinfo_a>(3)." |
| 758 |
|
| 759 |
#. type: Plain text |
| 760 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 761 |
msgid "" |
| 762 |
"B<memchr>(3), B<strchr>(3), B<string>(3), B<strpbrk>(3), B<strsep>(3), " |
| 763 |
"B<strspn>(3), B<strstr>(3), B<wcstok>(3)" |
| 764 |
msgstr "" |
| 765 |
"B<memchr>(3), B<strchr>(3), B<string>(3), B<strpbrk>(3), B<strsep>(3), " |
| 766 |
"B<strspn>(3), B<strstr>(3), B<wcstok>(3)" |
| 767 |
|
| 768 |
#. type: TH |
| 769 |
#: fedora-44 fedora-rawhide |
| 770 |
#, no-wrap |
| 771 |
msgid "2024-07-23" |
| 772 |
msgstr "23 juillet 2024" |
| 773 |
|
| 774 |
#. type: TH |
| 775 |
#: fedora-44 fedora-rawhide |
| 776 |
#, no-wrap |
| 777 |
msgid "Linux man-pages 6.13" |
| 778 |
msgstr "Pages du manuel de Linux 6.13" |
| 779 |
|
| 780 |
#. type: TH |
| 781 |
#: mageia-cauldron |
| 782 |
#, no-wrap |
| 783 |
msgid "2026-02-08" |
| 784 |
msgstr "8 février 2026" |
| 785 |
|
| 786 |
#. type: TH |
| 787 |
#: mageia-cauldron |
| 788 |
#, no-wrap |
| 789 |
msgid "Linux man-pages 6.17" |
| 790 |
msgstr "Pages du manuel de Linux 6.17" |
| 791 |
|
| 792 |
#. type: TH |
| 793 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 794 |
#, no-wrap |
| 795 |
msgid "Linux man-pages (unreleased)" |
| 796 |
msgstr "Pages du manuel de Linux (non publiées)" |