extern "C" CMDAPIIMPORT APIRET CMDClearEnv () ;
This function clears the process' environment, unsetting all environment variables. It returns zero on success and a non-zero system error code on failure.