GetOSEnvironmentVariableValue
CAPL Functions » General » Function Overview » GetOSEnvironmentVariableValue Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
Description
Gets the value of an operating system environment variable (i.e. “PATH” or “USERNAME”). Note that these are not the CANoe DE product system variables.Parameters
- variableName: The name of the environment variable to be queried.
- buffer: Space for the return value of the environment variable. If it does not contain sufficient space for the result, it will remain unchanged and the function will return 1.