System Functions


// System functions.
class RVAPI System
{
public:
    // Print message using stdargs.
    static void PrintArgs(wcstr msg, va_list args);

    // Get environment variable. [name] is case sensitive.
    static void GetEnvVar(const String &value, wcstr name);

    // Get CPU thread count.
    static uint GetThreadCount();

    // Pause execution for [ms] milliseconds.
    static void Wait(uint ms);
};