Functions | |
HC_BOOLEAN | Show_Environment (const char *variable, char *value) |
HC_BOOLEAN Show_Environment | ( | const char * | variable, | |
char * | value | |||
) |
Allows you to retrieve information from the operating system environment of your running program.
variable | - The name of the environment variable you'd like to inquire about. | |
value | - The current value(if any) of the given variable. Passed by reference always. Returned to user. |
If you're working in C, in order to avoid unpleasant surprises make sure the value buffer is of ample size, or set the "C return length" system option with Define_System_Options() .