# 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, 2013, 2014.
# Denis Barbier , 2006, 2010, 2011.
# David Prévot , 2010, 2012-2014.
# Lucien Gentis , 2023.
msgid ""
msgstr ""
"Project-Id-Version: perkamon\n"
"POT-Creation-Date: 2026-06-05 06:25+0200\n"
"PO-Revision-Date: 2025-05-29 12:24+0200\n"
"Last-Translator: Lucien Gentis \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: vim-gtk3\n"
#. type: TH
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "getopt"
msgstr "getopt"
#. type: TH
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
#: opensuse-tumbleweed
#, no-wrap
msgid "2026-02-08"
msgstr "8 février 2026"
#. type: TH
#: archlinux debian-unstable
#, no-wrap
msgid "Linux man-pages 6.18"
msgstr "Pages du manuel de Linux 6.18"
#. type: SH
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "NAME"
msgstr "NOM"
#. type: Plain text
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
#: opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "getopt, getopt_long, getopt_long_only, optarg, optind, opterr, optopt - "
#| "Parse command-line options"
msgid "getopt, optarg, optind, opterr, optopt - Parse command-line options"
msgstr ""
"getopt, getopt_long, getopt_long_only, optarg, optind, opterr, optopt — "
"Analyser les options de la ligne de commande"
#. type: SH
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "LIBRARY"
msgstr "BIBLIOTHÈQUE"
#. type: Plain text
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
#: opensuse-leap-16-1 opensuse-tumbleweed
msgid "Standard C library (I,\\ I<-lc>)"
msgstr "Bibliothèque C standard (I,\\ I<-lc>)"
#. type: SH
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "SYNOPSIS"
msgstr "SYNOPSIS"
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "B<#include Eunistd.hE>\n"
msgstr "B<#include Eunistd.hE>\n"
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid ""
"BIB<, char *>IB<[],>\n"
"B< const char *>IB<);>\n"
msgstr ""
"BIB<, char *>IB<[],>\n"
"B< const char *>IB<);>\n"
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid ""
"BIB<;>\n"
"BIB<, >IB<, >IB<;>\n"
msgstr ""
"BIB<;>\n"
"BIB<, >IB<, >IB<;>\n"
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
msgid ""
"Feature Test Macro Requirements for glibc (see B(7)):"
msgstr ""
"Exigences de macros de test de fonctionnalités pour la glibc (consulter "
"B(7)) :"
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
msgid "B():"
msgstr "B()\\ :"
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid " _POSIX_C_SOURCE E= 2 || _XOPEN_SOURCE\n"
msgstr " _POSIX_C_SOURCE E= 2 || _XOPEN_SOURCE\n"
#. type: SH
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "DESCRIPTION"
msgstr "DESCRIPTION"
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
msgid ""
"The B() function parses the command-line arguments. Its arguments "
"I and I are the argument count and array as passed to the "
"I() function on program invocation. An element of I that "
"starts with \\[aq]-\\[aq] (and is not exactly \"-\" or \"--\") is an option "
"element. The characters of this element (aside from the initial \\[aq]-\\"
"[aq]) are option characters. If B() is called repeatedly, it "
"returns successively each of the option characters from each of the option "
"elements."
msgstr ""
"La fonction B() analyse les arguments de la ligne de commande. Ses "
"arguments I et I correspondent au nombre et à la table "
"d'éléments qui sont transmis à la fonction I() lors du lancement du "
"programme. Un élément de I qui commence par «\\ -\\ » (et qui n'est "
"pas uniquement «\\ --\\ » ou «\\ -\\ ») est considéré comme une option. Les "
"caractères à la suite du ou des «\\ -\\ » initiaux sont les caractères de "
"l'option. Si B() est appelée à plusieurs reprises, elle renverra "
"successivement chaque caractère de chaque option."
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
msgid ""
"The variable I is the index of the next element to be processed in "
"I. The system initializes this value to 1. The caller can reset it "
"to 1 to restart scanning of the same I, or when scanning a new "
"argument vector."
msgstr ""
"La variable I est l'index de l'élément suivant à analyser dans "
"I. Le système initialise cette valeur à 1. L'appelant peut la remettre "
"à 1 pour recommencer l'analyse du même tableau de paramètres I ou pour "
"en analyser un nouveau."
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
msgid ""
"If B() finds another option character, it returns that character, "
"updating the external variable I and a static variable I "
"so that the next call to B() can resume the scan with the following "
"option character or I-element."
msgstr ""
"Si B() trouve un autre caractère d'option, elle renvoie ce caractère "
"en mettant à jour la variable externe I et la variable statique "
"I, de façon à ce que l'appel suivant à B() puisse "
"continuer l'analyse avec le caractère d'option suivant ou l'élément suivant "
"de I."
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
msgid ""
"If there are no more option characters, B() returns -1. Then "
"I is the index in I of the first I-element that is not "
"an option."
msgstr ""
"S'il n'y a plus de caractères d'option, B() renvoie B<-1>. Alors, "
"I devient l'index du premier élément de I qui n'est pas une "
"option."
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
msgid ""
"I is a string containing the legitimate option characters. A "
"legitimate option character is any visible one byte B(7) character "
"(for which B(3) would return nonzero) that is not \\[aq]-\\[aq], \\"
"[aq]:\\[aq], or \\[aq];\\[aq]. If such a character is followed by a colon, "
"the option requires an argument, so B() places a pointer to the "
"following text in the same I-element, or the text of the following "
"I-element, in I. Two colons mean an option takes an optional "
"arg; if there is text in the current I-element (i.e., in the same word "
"as the option name itself, for example, \"-oarg\"), then it is returned in "
"I, otherwise I is set to zero. This is a GNU extension. If "
"I contains B followed by a semicolon, then B<-W foo> is "
"treated as the long option B<--foo>. (The B<-W> option is reserved by "
"POSIX.2 for implementation extensions.) This behavior is a GNU extension, "
"not available with libraries before glibc 2."
msgstr ""
"I est une chaîne contenant l'ensemble des caractères "
"d'option autorisés. Un caractère d'option autorisé est un caractère "
"B(7) imprimable sur 1 octet (pour lequel B(3) renverrait une "
"valeur différente de zéro) autre que « - », « : » ou « ; ». Si un de ces "
"caractères est suivi par un deux-points (« : »), l'option nécessite un "
"argument, donc B() placera dans I un pointeur sur le texte "
"suivant dans le même élément de I ou sur le texte de l'élément de "
"I suivant. Un double deux-points (« :: ») signifie qu'une option prend "
"un argument facultatif. S'il existe un texte dans le même élément de I "
"(c'est-à-dire dans le même mot que le nom de l'option elle-même comme «\\ "
"-oarg\\ »), il est renvoyé dans I, sinon I est défini à "
"zéro. Il s'agit d'une extension GNU. Si I contient B "
"suivi d'un point-virgule, B<-W foo> est traité comme l'option longue B<--"
"foo> (l'option B<-W> est réservée par POSIX.2 pour des extensions "
"spécifiques à l'implémentation). Ce comportement, spécifique à la version "
"GNU, est pris en charge à partir de la version 2 de la bibliothèque glibc."
#. type: Plain text
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
#: opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "By default, B() permutes the contents of I as it scans, so "
#| "that eventually all the nonoptions are at the end. Two other scanning "
#| "modes are also implemented. If the first character of I is \\"
#| "[aq]+\\[aq] or the environment variable B is set, then "
#| "option processing stops as soon as a nonoption argument is encountered. "
#| "If \\[aq]+\\[aq] is not the first character of I, it is "
#| "treated as a normal option. If B behaviour is required "
#| "in this case I will contain two \\[aq]+\\[aq] symbols. If the "
#| "first character of I is \\[aq]-\\[aq], then each nonoption "
#| "I-element is handled as if it were the argument of an option with "
#| "character code 1. (This is used by programs that were written to expect "
#| "options and other I-elements in any order and that care about the "
#| "ordering of the two.) The special argument \"--\" forces an end of "
#| "option-scanning regardless of the scanning mode."
msgid ""
"By default, B() permutes the contents of I as it scans, so "
"that eventually all the nonoptions are at the end. Two other scanning modes "
"are also implemented. If the first character of I is \\[aq]+\\"
"[aq] or the environment variable B<\\%POSIXLY_CORRECT> is set, then option "
"processing stops as soon as a nonoption argument is encountered. If \\[aq]+"
"\\[aq] is not the first character of I, it is treated as a normal "
"option. If B<\\%POSIXLY_CORRECT> behavior is required in this case "
"I will contain two \\[aq]+\\[aq] symbols. If the first character "
"of I is \\[aq]-\\[aq], then each nonoption I-element is "
"handled as if it were the argument of an option with character code 1. "
"(This is used by programs that were written to expect options and other "
"I-elements in any order and that care about the ordering of the two.) "
"The special argument \"--\" forces an end of option-scanning regardless of "
"the scanning mode."
msgstr ""
"Par défaut, B() permute les éléments de I au fur et à mesure "
"de son analyse, de façon à ce qu'en fin de compte, les arguments ne "
"constituant pas des options se trouvent à la fin. Deux autres modes "
"d'analyse sont également implémentés : si le premier caractère de "
"I vaut « + » ou si la variable d'environnement "
"B est définie, l'analyse s'arrête dès qu'un argument ne "
"constituant pas une option est rencontré. Si le premier caractère de "
"I est autre que « + », il est traité comme une option "
"normale. Si le comportement induit par la définition de B "
"est requis, I contiendra deux symboles « + ». Si le premier "
"caractère de I vaut « - », les arguments ne correspondant "
"pas à une option sont manipulés comme s'ils étaient des arguments d'une "
"option avec le code de caractère 1 (cela est utilisé par les programmes "
"conçus pour recevoir des options et d'autres éléments de I dans "
"n'importe quel ordre mais qui prennent en compte l'ordre de ces deux types "
"d'élément). L'argument spécial « -- » arrête l'analyse des options, quel que "
"soit le mode d'analyse en cours."
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
msgid ""
"While processing the option list, B() can detect two kinds of "
"errors: (1) an option character that was not specified in I and "
"(2) a missing option argument (i.e., an option at the end of the command "
"line without an expected argument). Such errors are handled and reported as "
"follows:"
msgstr ""
"B() peut détecter deux types d'erreur lors du traitement de la liste "
"d'options : (1) un caractère d'option non spécifié dans I et "
"(2) un argument d'option manquant (c'est-à-dire une option sans son argument "
"attendu à la fin de la ligne de commande). Les erreurs de ce type sont "
"traitées et signalées comme suit :"
#. type: IP
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "\\[bu]"
msgstr "-"
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
msgid ""
"By default, B() prints an error message on standard error, places "
"the erroneous option character in I, and returns \\[aq]?\\[aq] as "
"the function result."
msgstr ""
"Par défaut, B() affiche un message d'erreur sur la sortie d'erreur "
"standard, place le caractère d'option erroné dans I et renvoie « ? » "
"comme résultat."
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
msgid ""
"If the caller has set the global variable I to zero, then "
"B() does not print an error message. The caller can determine that "
"there was an error by testing whether the function return value is \\[aq]?\\"
"[aq]. (By default, I has a nonzero value.)"
msgstr ""
"Si l'appelant a défini la variable globale I à zéro, B() "
"n'affiche pas de message d'erreur. L'appelant peut détecter la présence "
"d'une erreur en vérifiant si la fonction a renvoyé « ? » (par défaut, "
"I possède une valeur différente de zéro)."
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
msgid ""
"If the first character (following any optional \\[aq]+\\[aq] or \\[aq]-\\"
"[aq] described above) of I is a colon (\\[aq]:\\[aq]), then "
"B() likewise does not print an error message. In addition, it "
"returns \\[aq]:\\[aq] instead of \\[aq]?\\[aq] to indicate a missing option "
"argument. This allows the caller to distinguish the two different types of "
"errors."
msgstr ""
"Si le premier caractère de I (suivant un des caractères "
"facultatifs « + » ou « - » décrits ci-dessus) est un « : », là non plus, "
"B() n'affiche pas de message d'erreur. En outre, elle renvoie « : » "
"au lieu de « ? » pour indiquer un argument d'option manquant, ce qui permet "
"à l'appelant de distinguer les deux types d'erreur."
#. type: SH
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "RETURN VALUE"
msgstr "VALEUR RENVOYÉE"
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
msgid ""
"If an option was successfully found, then B() returns the option "
"character. If all command-line options have been parsed, then B() "
"returns -1. If B() encounters an option character that was not in "
"I, then \\[aq]?\\[aq] is returned. If B() encounters an "
"option with a missing argument, then the return value depends on the first "
"character in I: if it is \\[aq]:\\[aq], then \\[aq]:\\[aq] is "
"returned; otherwise \\[aq]?\\[aq] is returned."
msgstr ""
"Si une option a été trouvée, B() renvoie le caractère de l'option. "
"Si toutes les options de la ligne de commande ont été lues, B() "
"renvoie B<-1>. Si B() rencontre un caractère d'option qui n'est pas "
"dans I, « ? » est renvoyé. Si B() rencontre une "
"option avec un argument manquant, la valeur renvoyée dépend du premier "
"caractère de I : si c'est « : », ce caractère est renvoyé, "
"sinon « ? » est renvoyé."
#. type: SH
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "ENVIRONMENT"
msgstr "ENVIRONNEMENT"
#. type: TP
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
#: opensuse-tumbleweed
#, fuzzy, no-wrap
#| msgid "B"
msgid "B<\\%POSIXLY_CORRECT>"
msgstr "B"
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
msgid ""
"If this is set, then option processing stops as soon as a nonoption argument "
"is encountered."
msgstr ""
"Si cette variable est définie, l'analyse s'arrête dès qu'un argument ne "
"constituant pas une option est rencontré."
#. type: SH
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "ATTRIBUTES"
msgstr "ATTRIBUTS"
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
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
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "Interface"
msgstr "Interface"
#. type: tbl table
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "Attribute"
msgstr "Attribut"
#. type: tbl table
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "Value"
msgstr "Valeur"
#. type: tbl table
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid ".na\n"
msgstr ".na\n"
#. type: tbl table
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid ".nh\n"
msgstr ".nh\n"
#. type: TP
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "B()"
msgstr "B()"
#. type: tbl table
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "Thread safety"
msgstr "Sécurité des threads"
#. type: tbl table
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "MT-Unsafe race:getopt env"
msgstr "MT-Unsafe race:getopt env"
#. type: SH
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "VERSIONS"
msgstr "VERSIONS"
#. type: Plain text
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
#: opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "POSIX specifies that the I array argument should be I, but "
#| "these functions permute its elements unless the environment variable "
#| "B is set. I is used in the actual prototype to "
#| "be compatible with other systems; however, this page doesn't show the "
#| "qualifier, to avoid confusing readers."
msgid ""
"POSIX specifies that the I array argument should be I, but "
"these functions permute its elements unless the environment variable B<\\"
"%POSIXLY_CORRECT> is set. I is used in the actual prototype to be "
"compatible with other systems; however, this page doesn't show the "
"qualifier, to avoid confusing readers."
msgstr ""
"POSIX spécifie que l'argument du tableau I doit être I, mais "
"ces fonctions permutent ses éléments si la variable d'environnement "
"B n'est pas définie. Le prototype effectif utilise I "
"pour être compatible avec les autres systèmes ; cette page, cependant, ne "
"montre pas le qualificateur pour éviter de perturber les lecteurs."
#. type: SH
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "STANDARDS"
msgstr "NORMES"
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
msgid "POSIX.1-2008."
msgstr "POSIX.1-2008."
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
msgid ""
"The use of \\[aq]+\\[aq] and \\[aq]-\\[aq] in I is a GNU "
"extension."
msgstr ""
"L'utilisation de « + » et « - » dans I est une extension GNU."
#. type: SH
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "HISTORY"
msgstr "HISTORIQUE"
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
msgid "POSIX.1-2001, and POSIX.2."
msgstr "POSIX.1-2001 et POSIX.2."
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
msgid ""
"On some older implementations, B() was declared in "
"Istdio.hE>. SUSv1 permitted the declaration to appear in either "
"Iunistd.hE> or Istdio.hE>. POSIX.1-1996 marked the use "
"of Istdio.hE> for this purpose as LEGACY. POSIX.1-2001 does not "
"require the declaration to appear in Istdio.hE>."
msgstr ""
"Sur certaines anciennes implémentations, B() était déclarée dans "
"Istdio.hE>. SUSv1 permettait que la déclaration apparaisse soit "
"dans Iunistd.hE>, soit dans Istdio.hE>. POSIX.1-1996 "
"considère la déclaration dans Istdio.hE> comme «\\ LEGACY\\ » "
"(obsolète), et POSIX.1-2001 n'exige pas que la déclaration soit dans "
"Istdio.hE>."
#. type: Plain text
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
#: opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "Very old versions of glibc were affected by a E<.UR https://"
#| "\\:sourceware.org/\\:git/\\:?"
#| "p=glibc.git;a=commitdiff;h=bf079e19f50d64aa5e05> "
#| "B<_>IB<_GNU_nonoption_argv_flags_> environment variable E<.UE .>"
msgid ""
"Very old versions of glibc were affected by a E<.UR https:\\://"
"\\:sourceware.org/\\:git/\\:?"
"p=glibc.git;a=commitdiff;h=bf079e19f50d64aa5e05> B<\\"
"%_>IB<_GNU_nonoption_argv_flags_> environment variable E<.UE .>"
msgstr ""
"Les versions très anciennes de la glibc étaient affectées par une E<.UR "
"https://\\:sourceware.org/\\:git/\\:?"
"p=glibc.git;a=commitdiff;h=bf079e19f50d64aa5e05> variable d'environnement "
"B<_>IB<_GNU_nonoption_argv_flags_> E<.UE .>"
#. type: SH
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "NOTES"
msgstr "NOTES"
#. type: Plain text
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
#: opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "A program that scans multiple argument vectors, or rescans the same "
#| "vector more than once, and wants to make use of GNU extensions such as \\"
#| "[aq]+\\[aq] and \\[aq]-\\[aq] at the start of I, or changes "
#| "the value of B between scans, must reinitialize "
#| "B() by resetting I to 0, rather than the traditional "
#| "value of 1. (Resetting to 0 forces the invocation of an internal "
#| "initialization routine that rechecks B and checks for "
#| "GNU extensions in I.)"
msgid ""
"A program that scans multiple argument vectors, or rescans the same vector "
"more than once, and wants to make use of GNU extensions such as \\[aq]+\\"
"[aq] and \\[aq]-\\[aq] at the start of I, or changes the value of "
"B<\\%POSIXLY_CORRECT> between scans, must reinitialize B() by "
"resetting I to 0, rather than the traditional value of 1. "
"(Resetting to 0 forces the invocation of an internal initialization routine "
"that rechecks B<\\%POSIXLY_CORRECT> and checks for GNU extensions in "
"I.)"
msgstr ""
"Un programme qui analyse plusieurs tableaux de paramètres ou analyse "
"plusieurs fois le même tableau et qui veut utiliser les extensions GNU "
"telles que « + » et « - » au début de I, ou changer la "
"valeur de B entre les analyses, doit réinitialiser "
"B() en remettant I à B<0>, plutôt qu'à la valeur "
"traditionnelle de B<1>. La remise à B<0> force l'appel d'une routine "
"d'initialisation interne qui revérifie la définition de B "
"et recherche les extensions GNU dans I."
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
msgid ""
"Command-line arguments are parsed in strict order meaning that an option "
"requiring an argument will consume the next argument, regardless of whether "
"that argument is the correctly specified option argument or simply the next "
"option (in the scenario the user mis-specifies the command line). For "
"example, if I is specified as \"1n:\" and the user specifies the "
"command line arguments incorrectly as I, the I<-n> option "
"will be given the B value \"-1\", and the I<-1> option will be "
"considered to have not been specified."
msgstr ""
"Les arguments de la ligne de commande sont analysés selon leur ordre strict, "
"ce qui signifie qu'une option nécessitant un argument va consommer "
"l'argument suivant, qu'il s'agisse de son argument correctement spécifié ou "
"de l'option suivante (auquel cas l'utilisateur aura mal rédigé la ligne de "
"commande). Par exemple, si I contient « 1n: » et si "
"l'utilisateur fournit une ligne de commande incorrecte en spécifiant "
"I, l'option I<-n> se verra affecter la valeur de B "
"« -1 », et l'option I<-1> sera considérée comme non spécifiée."
#. type: SH
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "EXAMPLES"
msgstr "EXEMPLES"
#. type: SS
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "getopt()"
msgstr "getopt()"
#. type: Plain text
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
#: opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "The following trivial example program uses B() to handle two "
#| "program options: I<-n>, with no associated value; and I<-t val>, which "
#| "expects an associated value."
msgid ""
"The following trivial example program uses B() to handle two "
"program options: I<-n>, with no associated value; and I<-t\\ val>, which "
"expects an associated value."
msgstr ""
"Le programme d'exemple trivial suivant utilise B() avec deux "
"options\\ : I<-n> sans valeur associée et I<-t val> qui nécessite une valeur."
#. type: Plain text
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid ""
"#include Estdio.hE\n"
"#include Estdlib.hE\n"
"#include Eunistd.hE\n"
"\\&\n"
"int\n"
"main(int argc, char *argv[])\n"
"{\n"
" int flags, opt;\n"
" int nsecs, tfnd;\n"
"\\&\n"
" nsecs = 0;\n"
" tfnd = 0;\n"
" flags = 0;\n"
" while ((opt = getopt(argc, argv, \"nt:\")) != -1) {\n"
" switch (opt) {\n"
" case \\[aq]n\\[aq]:\n"
" flags = 1;\n"
" break;\n"
" case \\[aq]t\\[aq]:\n"
" nsecs = atoi(optarg);\n"
" tfnd = 1;\n"
" break;\n"
" default: /* \\[aq]?\\[aq] */\n"
" fprintf(stderr, \"Usage: %s [-t nsecs] [-n] name\\[rs]n\",\n"
" argv[0]);\n"
" exit(EXIT_FAILURE);\n"
" }\n"
" }\n"
"\\&\n"
" printf(\"flags=%d; tfnd=%d; nsecs=%d; optind=%d\\[rs]n\",\n"
" flags, tfnd, nsecs, optind);\n"
"\\&\n"
" if (optind E= argc) {\n"
" fprintf(stderr, \"Expected argument after options\\[rs]n\");\n"
" exit(EXIT_FAILURE);\n"
" }\n"
"\\&\n"
" printf(\"name argument = %s\\[rs]n\", argv[optind]);\n"
"\\&\n"
" /* Other code omitted */\n"
"\\&\n"
" exit(EXIT_SUCCESS);\n"
"}\n"
msgstr ""
"#include Estdio.hE\n"
"#include Estdlib.hE\n"
"#include Eunistd.hE\n"
"\\&\n"
"int\n"
"main(int argc, char *argv[])\n"
"{\n"
" int flags, opt;\n"
" int nsecs, tfnd;\n"
"\\&\n"
" nsecs = 0;\n"
" tfnd = 0;\n"
" flags = 0;\n"
" while ((opt = getopt(argc, argv, \"nt:\")) != -1) {\n"
" switch (opt) {\n"
" case \\[aq]n\\[aq]:\n"
" flags = 1;\n"
" break;\n"
" case \\[aq]t\\[aq]:\n"
" nsecs = atoi(optarg);\n"
" tfnd = 1;\n"
" break;\n"
" default: /* \\[aq]?\\[aq] */\n"
" fprintf(stderr, \"Usage : %s [-t nsecs] [-n] nom\\[rs]n\",\n"
" argv[0]);\n"
" exit(EXIT_FAILURE);\n"
" }\n"
" }\n"
"\\&\n"
" printf(\"flags=%d; tfnd=%d; nsecs=%d; optind=%d\\[rs]n\",\n"
" flags, tfnd, nsecs, optind);\n"
"\\&\n"
" if (optind E= argc) {\n"
" fprintf(stderr, \"Argument requis après les options\\[rs]n\");\n"
" exit(EXIT_FAILURE);\n"
" }\n"
"\\&\n"
" printf(\"argument nom = %s\\[rs]n\", argv[optind]);\n"
"\\&\n"
" /* Le reste du code n'est pas mentionné */\n"
"\\&\n"
" exit(EXIT_SUCCESS);\n"
"}\n"
#. SRC END
#. type: SH
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
#, no-wrap
msgid "SEE ALSO"
msgstr "VOIR AUSSI"
#. type: Plain text
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
#: opensuse-tumbleweed
#, fuzzy
#| msgid ""
#| "B(),\n"
#| "B(),\n"
#| "B()"
msgid ""
"B(1), B(3), B(3), B(3)"
msgstr ""
"B(),\n"
"B