System Functions

// System functions.
class RVAPI System
{
public:
    // Print message.
    static void Print(wcstr msg, ...);

    // Print message using stdargs.
    static void PrintArgs(wcstr msg, va_list args);

    // Get environment variable.
    static void GetEnvVar(const String &value, wcstr name);

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

    // Pause execution.
    static void Wait(uint ms);
};