getenv
De cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody>| Déclaré dans l'en-tête <stdlib.h>
|
||
const char *getenv( const char *env_var ); |
||
Recherche une variable d'environnement avec
env_var nom de l'hôte spécifié par la liste environnement et renvoie des informations qui lui sont associés. L'ensemble des variables d'environnement et les méthodes de l'altérer sont définis par l'implémentation . Original:
Searches for an environmental variable with name
env_var in the host-specified environment list and returns information associated with it. The set of environmental variables and methods of altering it are implementation-defined. The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Paramètres
| env_var | - | chaîne de caractères terminée par NULL identifier le nom de la variable d'environnement qu'il faut chercher
Original: null-terminated character string identifying the name of the environmental variable to look for The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Retourne la valeur
chaîne de caractères identifiant la valeur de la variable d'environnement ou NULL si la variable ne soit pas trouvé .
Original:
character string identifying the value of the environmental variable or NULL if such variable is not found.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Exemple
| This section is incomplete Reason: no example |
Voir aussi
C++ documentation for getenv
|