Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics (kill unused var, and kill/improve debug outputs)
[simgrid.git] / tools / tesh2 / w32 / include / getopt.h
index a7eb556..451dc42 100644 (file)
@@ -7,26 +7,24 @@
 \r
 struct option\r
 {\r
-       const char *name;       /* nom de l'option longue       */\r
+       const char *name;       /* name of the long option      */\r
        \r
        int has_arg;            /*\r
-                                                * has_arg vaut : no_argument (ou 0), si l'option ne prend pas d'argument, \r
-                                                * required_argument (ou 1) si l'option prend un argument,\r
-                                                * ou optional_argument (ou 2) si l'option prend un argument optionnel. \r
+                                                * has_arg is : no_argument (or 0), if the option doesn't take an argument, \r
+                                                * required_argument (or 1) if the option takes an argument,\r
+                                                * optional_argument (or 2) if the option takes an optional argument.\r
                                                 */\r
        \r
-       int *flag;                      /* spécifie la manière de renvoyer les résultats pour une option longue\r
-                                                * si flag vaut NULL, alors getopt_long() renvoie val\r
-                                                * (un programme peut par exemple initialiser val avec le caractère de \r
-                                                * l'option courte correspondante)\r
-                                                * dans le cas contraire getopt_long() renvoie 0, et flag pointe sur la  \r
-                                                * variable dont le contenu est spécifié dans le champ val lorsque l'option \r
-                                                * est trouvée mais reste inchangée si l'option n'est pas trouvée.\r
+       int *flag;                      /* specify the mean used to return a result for a long option:\r
+                                                * if flag is NULL, then getopt_long() returns val\r
+                                                * in the other case getopt_long() returns 0, and flag points to the  \r
+                                                * variable specified bay the content of the field val when the option \r
+                                                * is found but it is not update if the option is not found.\r
                                                 */\r
                                                                                \r
-       int val;                        /* val est la valeur renvoyée par getopt_long() lorsque le pointeur flag\r
-                                                * vaut NULL ou la valeur de la variable référencée par le pointeur flag\r
-                                                * lorsque l'option est trouvée.\r
+       int val;                        /* val is the value returned by getopt_long() when the pointer flag\r
+                                                * is NULL or the value of the variable referenced by the pointer flag\r
+                                                * when the option is found.\r
                                                 */\r
 };\r
 \r