close
Namensräume
Varianten

getenv

Aus cppreference.com

<metanoindex/>

 
 
Das Programm unterstützt Versorgungsunternehmen
Beendigung des Programms
Original:
Program termination
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
abort
exit
quick_exit(C++11)
_Exit(C++11)
Die Kommunikation mit der Umwelt
Original:
Communicating with the environment
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Signale
Original:
Signals
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Signal-Typen
Original:
Signal types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
SIGABRT
SIGFPE
SIGILL
SIGINT
SIGSEGV
SIGTERM
Nicht-lokale Sprünge
Original:
Non-local jumps
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
setjmp
longjmp
Types
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
jmp_buf
 
<tbody> </tbody>
definiert in Header <stdlib.h>
const char *getenv( const char *env_var );
Sucht nach einem Umgebungsvariable mit dem Namen env_var im Host-Umfeld angegebenen Liste und kehrt damit verbundenen Informationen. Der Satz von Umgebungsvariablen und Methoden der Veränderung es sind die Implementierung definiert .
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.

Parameter

env_var -
null-terminierte Zeichenkette, die den Namen der Umgebungsvariablen zu suchen
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.

Rückgabewert

Zeichenkette identifiziert den Wert der Umgebungsvariable oder NULL wenn diese Variable nicht gefunden wird .
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.

Beispiel

Siehe auch