CMDGetEnv

Synopsis

extern "C" CMDAPIIMPORT APIRET CMDGetEnv ( char * CMDBYREF var, const char * name ) ;

Description

This function queries the value of the environment variable named by the string pointed to by the name parameter. On success it returns zero and returns the value of the variable via the parameter var. On failure it returns a non-zero system error code.


The 32-bit Command Interpreter is © Copyright Jonathan de Boyne Pollard. "Moral" rights are asserted.