| 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, 2014. |
| 16 |
# Denis Barbier <[email protected]>, 2006, 2010. |
| 17 |
# David Prévot <[email protected]>, 2010, 2013, 2014. |
| 18 |
# Jean-Pierre Giraud <[email protected]>, 2024-2026. |
| 19 |
msgid "" |
| 20 |
msgstr "" |
| 21 |
"Project-Id-Version: manpages-l10n 4.30\n" |
| 22 |
"POT-Creation-Date: 2026-06-05 06:23+0200\n" |
| 23 |
"PO-Revision-Date: 2024-03-04 18:57+0100\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 |
"\n" |
| 31 |
"Plural-Forms: nplurals=2; plural=n > 1;\n" |
| 32 |
"X-Generator: Poedit 2.4.2\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 "duplocale" |
| 39 |
msgstr "duplocale" |
| 40 |
|
| 41 |
#. type: TH |
| 42 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 43 |
#: opensuse-tumbleweed |
| 44 |
#, no-wrap |
| 45 |
msgid "2026-02-08" |
| 46 |
msgstr "8 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-trixie debian-unstable fedora-44 fedora-rawhide |
| 63 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 64 |
msgid "duplocale - duplicate a locale object" |
| 65 |
msgstr "duplocale - Dupliquer un objet de paramètres régionaux" |
| 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>locale.hE<gt>>\n" |
| 92 |
msgstr "B<#include E<lt>locale.hE<gt>>\n" |
| 93 |
|
| 94 |
#. type: Plain text |
| 95 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 96 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 97 |
#, no-wrap |
| 98 |
msgid "B<locale_t duplocale(locale_t >I<locobj>B<);>\n" |
| 99 |
msgstr "B<locale_t duplocale(locale_t >I<locobj>B<);>\n" |
| 100 |
|
| 101 |
#. type: Plain text |
| 102 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 103 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 104 |
msgid "" |
| 105 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 106 |
msgstr "" |
| 107 |
"Exigences de macros de test de fonctionnalités pour la glibc (consulter " |
| 108 |
"B<feature_test_macros>(7)) :" |
| 109 |
|
| 110 |
#. type: Plain text |
| 111 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 112 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 113 |
msgid "B<duplocale>():" |
| 114 |
msgstr "B<duplocale>() :" |
| 115 |
|
| 116 |
#. type: Plain text |
| 117 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 118 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 119 |
#, no-wrap |
| 120 |
msgid "" |
| 121 |
" Since glibc 2.10:\n" |
| 122 |
" _XOPEN_SOURCE E<gt>= 700\n" |
| 123 |
" Before glibc 2.10:\n" |
| 124 |
" _GNU_SOURCE\n" |
| 125 |
msgstr "" |
| 126 |
" Depuis la glibc 2.10 :\n" |
| 127 |
" _XOPEN_SOURCE E<gt>= 700\n" |
| 128 |
" Avant la glibc 2.10 :\n" |
| 129 |
" _GNU_SOURCE\n" |
| 130 |
|
| 131 |
#. type: SH |
| 132 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 133 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 134 |
#, no-wrap |
| 135 |
msgid "DESCRIPTION" |
| 136 |
msgstr "DESCRIPTION" |
| 137 |
|
| 138 |
#. type: Plain text |
| 139 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 140 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 141 |
msgid "" |
| 142 |
"The B<duplocale>() function creates a duplicate of the locale object " |
| 143 |
"referred to by I<locobj>." |
| 144 |
msgstr "" |
| 145 |
"La fonction B<duplocale>() créée un duplicata de l’objet de paramètres " |
| 146 |
"régionaux référencé par I<locobj>." |
| 147 |
|
| 148 |
#. type: Plain text |
| 149 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 150 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 151 |
msgid "" |
| 152 |
"If I<locobj> is B<LC_GLOBAL_LOCALE>, B<duplocale>() creates a locale object " |
| 153 |
"containing a copy of the global locale determined by B<setlocale>(3)." |
| 154 |
msgstr "" |
| 155 |
"Si I<locobj> est B<LC_GLOBAL_LOCALE>, B<duplocale>() crée un objet de " |
| 156 |
"paramètres régionaux contenant un copie des paramètres régionaux génériques " |
| 157 |
"déterminés par B<setlocale>(3)." |
| 158 |
|
| 159 |
#. type: SH |
| 160 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 161 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 162 |
#, no-wrap |
| 163 |
msgid "RETURN VALUE" |
| 164 |
msgstr "VALEUR RENVOYÉE" |
| 165 |
|
| 166 |
#. type: Plain text |
| 167 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 168 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 169 |
msgid "" |
| 170 |
"On success, B<duplocale>() returns a handle for the new locale object. On " |
| 171 |
"error, it returns I<(locale_t)\\ 0>, and sets I<errno> to indicate the error." |
| 172 |
msgstr "" |
| 173 |
"En cas de réussite, B<duplocale>() renvoie un identifiant pour le nouvel " |
| 174 |
"objet de paramètres régionaux. En cas d’erreur, il renvoie I<(locale_t)\\ 0> " |
| 175 |
"et définit I<errno> pour indiquer l’erreur." |
| 176 |
|
| 177 |
#. type: SH |
| 178 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 179 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 180 |
#, no-wrap |
| 181 |
msgid "ERRORS" |
| 182 |
msgstr "ERREURS" |
| 183 |
|
| 184 |
#. type: TP |
| 185 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 186 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 187 |
#, no-wrap |
| 188 |
msgid "B<ENOMEM>" |
| 189 |
msgstr "B<ENOMEM>" |
| 190 |
|
| 191 |
#. type: Plain text |
| 192 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 193 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 194 |
msgid "Insufficient memory to create the duplicate locale object." |
| 195 |
msgstr "" |
| 196 |
"Pas assez de mémoire pour créer l’objet de paramètres régionaux dupliqué." |
| 197 |
|
| 198 |
#. type: SH |
| 199 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 200 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 201 |
#, no-wrap |
| 202 |
msgid "STANDARDS" |
| 203 |
msgstr "NORMES" |
| 204 |
|
| 205 |
#. type: Plain text |
| 206 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 207 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 208 |
msgid "POSIX.1-2008." |
| 209 |
msgstr "POSIX.1-2008." |
| 210 |
|
| 211 |
#. type: SH |
| 212 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 213 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 214 |
#, no-wrap |
| 215 |
msgid "HISTORY" |
| 216 |
msgstr "HISTORIQUE" |
| 217 |
|
| 218 |
#. type: Plain text |
| 219 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 220 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 221 |
msgid "glibc 2.3." |
| 222 |
msgstr "glibc 2.3." |
| 223 |
|
| 224 |
#. type: SH |
| 225 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 226 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 227 |
#, no-wrap |
| 228 |
msgid "NOTES" |
| 229 |
msgstr "NOTES" |
| 230 |
|
| 231 |
#. type: Plain text |
| 232 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 233 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 234 |
msgid "Duplicating a locale can serve the following purposes:" |
| 235 |
msgstr "" |
| 236 |
"La duplication de paramètres régionaux peut avoir les utilités suivantes :" |
| 237 |
|
| 238 |
#. type: IP |
| 239 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 240 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 241 |
#, no-wrap |
| 242 |
msgid "\\[bu]" |
| 243 |
msgstr "-" |
| 244 |
|
| 245 |
#. type: Plain text |
| 246 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 247 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 248 |
msgid "" |
| 249 |
"To create a copy of a locale object in which one of more categories are to " |
| 250 |
"be modified (using B<newlocale>(3))." |
| 251 |
msgstr "" |
| 252 |
"créer une copie de l’objet de paramètres régionaux dans lequel au moins une " |
| 253 |
"catégorie est à modifier (en utilisant B<newlocale>(3)) ;" |
| 254 |
|
| 255 |
#. type: Plain text |
| 256 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 257 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 258 |
msgid "" |
| 259 |
"To obtain a handle for the current locale which can used in other functions " |
| 260 |
"that employ a locale handle, such as B<toupper_l>(3). This is done by " |
| 261 |
"applying B<duplocale>() to the value returned by the following call:" |
| 262 |
msgstr "" |
| 263 |
"obtenir un identifiant pour les paramètres régionaux actuels qui peut servir " |
| 264 |
"dans d’autres fonctions permettant d’utiliser un identifiant de paramètres " |
| 265 |
"régionaux, comme B<toupper_l>(3). C’est réalisé en appliquant B<duplocale>() " |
| 266 |
"à la valeur renvoyée par les appels suivants :" |
| 267 |
|
| 268 |
#. type: Plain text |
| 269 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 270 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 271 |
#, no-wrap |
| 272 |
msgid "loc = uselocale((locale_t) 0);\n" |
| 273 |
msgstr "loc = uselocale((locale_t) 0);\n" |
| 274 |
|
| 275 |
#. type: Plain text |
| 276 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 277 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 278 |
msgid "" |
| 279 |
"This technique is necessary, because the above B<uselocale>(3) call may " |
| 280 |
"return the value B<LC_GLOBAL_LOCALE>, which results in undefined behavior if " |
| 281 |
"passed to functions such as B<toupper_l>(3). Calling B<duplocale>() can be " |
| 282 |
"used to ensure that the B<LC_GLOBAL_LOCALE> value is converted into a usable " |
| 283 |
"locale object. See EXAMPLES, below." |
| 284 |
msgstr "" |
| 285 |
"Cette technique est nécessaire, parce que l’appel B<uselocale>(3) précédent " |
| 286 |
"pourrait renvoyer la valeur B<LC_GLOBAL_LOCALE>, avec pour conséquence un " |
| 287 |
"comportement non défini si passé à des fonctions comme B<toupper_l>(3). Un " |
| 288 |
"appel de B<duplocale>() permet de s’assurer que la valeur " |
| 289 |
"B<LC_GLOBAL_LOCALE> est convertie en objet de paramètres régionaux " |
| 290 |
"utilisable. Consultez B<EXEMPLES> ci-dessous." |
| 291 |
|
| 292 |
#. type: Plain text |
| 293 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 294 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 295 |
msgid "" |
| 296 |
"Each locale object created by B<duplocale>() should be deallocated using " |
| 297 |
"B<freelocale>(3)." |
| 298 |
msgstr "" |
| 299 |
"Chaque objet de paramètres régionaux créé par B<duplocale>() devrait être " |
| 300 |
"désalloué en utilisant B<freelocale>(3)." |
| 301 |
|
| 302 |
#. type: SH |
| 303 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 304 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 305 |
#, no-wrap |
| 306 |
msgid "EXAMPLES" |
| 307 |
msgstr "EXEMPLES" |
| 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 |
"The program below uses B<uselocale>(3) and B<duplocale>() to obtain a " |
| 314 |
"handle for the current locale which is then passed to B<toupper_l>(3). The " |
| 315 |
"program takes one command-line argument, a string of characters that is " |
| 316 |
"converted to uppercase and displayed on standard output. An example of its " |
| 317 |
"use is the following:" |
| 318 |
msgstr "" |
| 319 |
"Le programme suivant utilise B<uselocale>(3) et B<duplocale>() pour obtenir " |
| 320 |
"un identifiant pour les paramètres régionaux actuels qui sont ensuite passés " |
| 321 |
"à B<toupper_l>(3). Le programme prend un argument en ligne de commande, une " |
| 322 |
"chaîne de caractères qui est convertie en majuscule et affichée sur la " |
| 323 |
"sortie standard. Voici un exemple d’utilisation :" |
| 324 |
|
| 325 |
#. type: Plain text |
| 326 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 327 |
#: opensuse-tumbleweed |
| 328 |
#, no-wrap |
| 329 |
msgid "" |
| 330 |
"$B< ./a.out abc>;\n" |
| 331 |
"ABC\n" |
| 332 |
msgstr "" |
| 333 |
"$B< ./a.out abc>;\n" |
| 334 |
"ABC\n" |
| 335 |
|
| 336 |
#. type: SS |
| 337 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 338 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 339 |
#, no-wrap |
| 340 |
msgid "Program source" |
| 341 |
msgstr "Source du programme" |
| 342 |
|
| 343 |
#. type: Plain text |
| 344 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 345 |
#: opensuse-tumbleweed |
| 346 |
#, no-wrap |
| 347 |
msgid "" |
| 348 |
"#define _XOPEN_SOURCE 700\n" |
| 349 |
"#include E<lt>ctype.hE<gt>\n" |
| 350 |
"#include E<lt>err.hE<gt>\n" |
| 351 |
"#include E<lt>locale.hE<gt>\n" |
| 352 |
"#include E<lt>stdio.hE<gt>\n" |
| 353 |
"#include E<lt>stdlib.hE<gt>\n" |
| 354 |
"\\&\n" |
| 355 |
"int\n" |
| 356 |
"main(int argc, char *argv[])\n" |
| 357 |
"{\n" |
| 358 |
" locale_t loc, nloc;\n" |
| 359 |
"\\&\n" |
| 360 |
" if (argc != 2) {\n" |
| 361 |
" fprintf(stderr, \"Usage: %s string\\[rs]n\", argv[0]);\n" |
| 362 |
" exit(EXIT_FAILURE);\n" |
| 363 |
" }\n" |
| 364 |
"\\&\n" |
| 365 |
" /* This sequence is necessary, because uselocale() might return\n" |
| 366 |
" the value LC_GLOBAL_LOCALE, which can\\[aq]t be passed as an\n" |
| 367 |
" argument to toupper_l(). */\n" |
| 368 |
"\\&\n" |
| 369 |
" loc = uselocale((locale_t) 0);\n" |
| 370 |
" if (loc == (locale_t) 0)\n" |
| 371 |
" err(EXIT_FAILURE, \"uselocale\");\n" |
| 372 |
"\\&\n" |
| 373 |
" nloc = duplocale(loc);\n" |
| 374 |
" if (nloc == (locale_t) 0)\n" |
| 375 |
" err(EXIT_FAILURE, \"duplocale\");\n" |
| 376 |
"\\&\n" |
| 377 |
" for (char *p = argv[1]; *p; p++)\n" |
| 378 |
" putchar(toupper_l(*p, nloc));\n" |
| 379 |
"\\&\n" |
| 380 |
" printf(\"\\[rs]n\");\n" |
| 381 |
"\\&\n" |
| 382 |
" freelocale(nloc);\n" |
| 383 |
"\\&\n" |
| 384 |
" exit(EXIT_SUCCESS);\n" |
| 385 |
"}\n" |
| 386 |
msgstr "" |
| 387 |
"#define _XOPEN_SOURCE 700\n" |
| 388 |
"#include E<lt>ctype.hE<gt>\n" |
| 389 |
"#include E<lt>err.hE<gt>\n" |
| 390 |
"#include E<lt>locale.hE<gt>\n" |
| 391 |
"#include E<lt>stdio.hE<gt>\n" |
| 392 |
"#include E<lt>stdlib.hE<gt>\n" |
| 393 |
"\\&\n" |
| 394 |
"int\n" |
| 395 |
"main(int argc, char *argv[])\n" |
| 396 |
"{\n" |
| 397 |
" locale_t loc, nloc;\n" |
| 398 |
"\\&\n" |
| 399 |
" if (argc != 2) {\n" |
| 400 |
" fprintf(stderr, \"Utilisation : %s string\\[rs]n\", argv[0]);\n" |
| 401 |
" exit(EXIT_FAILURE);\n" |
| 402 |
" }\n" |
| 403 |
"\\&\n" |
| 404 |
" /* Cette suite est nécessaire, parce que uselocale() pourrait\n" |
| 405 |
" renvoyer la valeur LC_GLOBAL_LOCALE, qui ne peut pas être\n" |
| 406 |
" passée comme un argument à toupper_l() */\n" |
| 407 |
"\\&\n" |
| 408 |
" loc = uselocale((locale_t) 0);\n" |
| 409 |
" if (loc == (locale_t) 0)\n" |
| 410 |
" err(EXIT_FAILURE, \"uselocale\");\n" |
| 411 |
"\\&\n" |
| 412 |
" nloc = duplocale(loc);\n" |
| 413 |
" if (nloc == (locale_t) 0)\n" |
| 414 |
" err(EXIT_FAILURE, \"duplocale\");\n" |
| 415 |
"\\&\n" |
| 416 |
" for (char *p = argv[1]; *p; p++)\n" |
| 417 |
" putchar(toupper_l(*p, nloc));\n" |
| 418 |
"\\&\n" |
| 419 |
" printf(\"\\[rs]n\");\n" |
| 420 |
"\\&\n" |
| 421 |
" freelocale(nloc);\n" |
| 422 |
"\\&\n" |
| 423 |
" exit(EXIT_SUCCESS);\n" |
| 424 |
"}\n" |
| 425 |
|
| 426 |
#. SRC END |
| 427 |
#. type: SH |
| 428 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 429 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 430 |
#, no-wrap |
| 431 |
msgid "SEE ALSO" |
| 432 |
msgstr "VOIR AUSSI" |
| 433 |
|
| 434 |
#. type: Plain text |
| 435 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 436 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 437 |
msgid "" |
| 438 |
"B<freelocale>(3), B<newlocale>(3), B<setlocale>(3), B<uselocale>(3), " |
| 439 |
"B<locale>(5), B<locale>(7)" |
| 440 |
msgstr "" |
| 441 |
"B<freelocale>(3), B<newlocale>(3), B<setlocale>(3), B<uselocale>(3), " |
| 442 |
"B<locale>(5), B<locale>(7)" |
| 443 |
|
| 444 |
#. type: TH |
| 445 |
#: debian-trixie |
| 446 |
#, no-wrap |
| 447 |
msgid "2024-06-15" |
| 448 |
msgstr "15 juin 2024" |
| 449 |
|
| 450 |
#. type: TH |
| 451 |
#: debian-trixie |
| 452 |
#, no-wrap |
| 453 |
msgid "Linux man-pages 6.9.1" |
| 454 |
msgstr "Pages du manuel de Linux 6.9.1" |
| 455 |
|
| 456 |
#. type: Plain text |
| 457 |
#: debian-trixie |
| 458 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 459 |
msgstr "Bibliothèque C standard (I<libc>, I<-lc>)" |
| 460 |
|
| 461 |
#. type: Plain text |
| 462 |
#: debian-trixie fedora-44 fedora-rawhide |
| 463 |
#, no-wrap |
| 464 |
msgid "" |
| 465 |
"$ B<./a.out abc>\n" |
| 466 |
"ABC\n" |
| 467 |
msgstr "" |
| 468 |
"$ B<./a.out abc>\n" |
| 469 |
"ABC\n" |
| 470 |
|
| 471 |
#. type: Plain text |
| 472 |
#: debian-trixie fedora-44 fedora-rawhide |
| 473 |
#, no-wrap |
| 474 |
msgid "" |
| 475 |
"#define _XOPEN_SOURCE 700\n" |
| 476 |
"#include E<lt>ctype.hE<gt>\n" |
| 477 |
"#include E<lt>locale.hE<gt>\n" |
| 478 |
"#include E<lt>stdio.hE<gt>\n" |
| 479 |
"#include E<lt>stdlib.hE<gt>\n" |
| 480 |
"\\&\n" |
| 481 |
"#define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \\[rs]\n" |
| 482 |
" } while (0)\n" |
| 483 |
"\\&\n" |
| 484 |
"int\n" |
| 485 |
"main(int argc, char *argv[])\n" |
| 486 |
"{\n" |
| 487 |
" locale_t loc, nloc;\n" |
| 488 |
"\\&\n" |
| 489 |
" if (argc != 2) {\n" |
| 490 |
" fprintf(stderr, \"Usage: %s string\\[rs]n\", argv[0]);\n" |
| 491 |
" exit(EXIT_FAILURE);\n" |
| 492 |
" }\n" |
| 493 |
"\\&\n" |
| 494 |
" /* This sequence is necessary, because uselocale() might return\n" |
| 495 |
" the value LC_GLOBAL_LOCALE, which can\\[aq]t be passed as an\n" |
| 496 |
" argument to toupper_l(). */\n" |
| 497 |
"\\&\n" |
| 498 |
" loc = uselocale((locale_t) 0);\n" |
| 499 |
" if (loc == (locale_t) 0)\n" |
| 500 |
" errExit(\"uselocale\");\n" |
| 501 |
"\\&\n" |
| 502 |
" nloc = duplocale(loc);\n" |
| 503 |
" if (nloc == (locale_t) 0)\n" |
| 504 |
" errExit(\"duplocale\");\n" |
| 505 |
"\\&\n" |
| 506 |
" for (char *p = argv[1]; *p; p++)\n" |
| 507 |
" putchar(toupper_l(*p, nloc));\n" |
| 508 |
"\\&\n" |
| 509 |
" printf(\"\\[rs]n\");\n" |
| 510 |
"\\&\n" |
| 511 |
" freelocale(nloc);\n" |
| 512 |
"\\&\n" |
| 513 |
" exit(EXIT_SUCCESS);\n" |
| 514 |
"}\n" |
| 515 |
msgstr "" |
| 516 |
"#define _XOPEN_SOURCE 700\n" |
| 517 |
"#include E<lt>ctype.hE<gt>\n" |
| 518 |
"#include E<lt>locale.hE<gt>\n" |
| 519 |
"#include E<lt>stdio.hE<gt>\n" |
| 520 |
"#include E<lt>stdlib.hE<gt>\n" |
| 521 |
"\\&\n" |
| 522 |
"#define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \\[rs]\n" |
| 523 |
" } while (0)\n" |
| 524 |
"\\&\n" |
| 525 |
"int\n" |
| 526 |
"main(int argc, char *argv[])\n" |
| 527 |
"{\n" |
| 528 |
" locale_t loc, nloc;\n" |
| 529 |
"\\&\n" |
| 530 |
" if (argc != 2) {\n" |
| 531 |
" fprintf(stderr, \"Utilisation : %s string\\[rs]n\", argv[0]);\n" |
| 532 |
" exit(EXIT_FAILURE);\n" |
| 533 |
" }\n" |
| 534 |
"\\&\n" |
| 535 |
" /* Cette suite est nécessaire, parce que uselocale() pourrait\n" |
| 536 |
" renvoyer la valeur LC_GLOBAL_LOCALE, qui ne peut pas être\n" |
| 537 |
" passée comme un argument à toupper_l() */\n" |
| 538 |
"\\&\n" |
| 539 |
" loc = uselocale((locale_t) 0);\n" |
| 540 |
" if (loc == (locale_t) 0)\n" |
| 541 |
" errExit(\"uselocale\");\n" |
| 542 |
"\\&\n" |
| 543 |
" nloc = duplocale(loc);\n" |
| 544 |
" if (nloc == (locale_t) 0)\n" |
| 545 |
" errExit(\"duplocale\");\n" |
| 546 |
"\\&\n" |
| 547 |
" for (char *p = argv[1]; *p; p++)\n" |
| 548 |
" putchar(toupper_l(*p, nloc));\n" |
| 549 |
"\\&\n" |
| 550 |
" printf(\"\\[rs]n\");\n" |
| 551 |
"\\&\n" |
| 552 |
" freelocale(nloc);\n" |
| 553 |
"\\&\n" |
| 554 |
" exit(EXIT_SUCCESS);\n" |
| 555 |
"}\n" |
| 556 |
|
| 557 |
#. type: TH |
| 558 |
#: fedora-44 fedora-rawhide |
| 559 |
#, no-wrap |
| 560 |
msgid "2024-07-23" |
| 561 |
msgstr "23 juillet 2024" |
| 562 |
|
| 563 |
#. type: TH |
| 564 |
#: fedora-44 fedora-rawhide |
| 565 |
#, no-wrap |
| 566 |
msgid "Linux man-pages 6.13" |
| 567 |
msgstr "Pages du manuel de Linux 6.13" |
| 568 |
|
| 569 |
#. type: TH |
| 570 |
#: mageia-cauldron |
| 571 |
#, no-wrap |
| 572 |
msgid "Linux man-pages 6.17" |
| 573 |
msgstr "Pages du manuel de Linux 6.17" |
| 574 |
|
| 575 |
#. type: TH |
| 576 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 577 |
#, no-wrap |
| 578 |
msgid "Linux man-pages (unreleased)" |
| 579 |
msgstr "Pages du manuel de Linux (non publiées)" |