VirtualBox

Changeset 5099 in vbox


Ignore:
Timestamp:
Sep 28, 2007 3:43:25 PM (17 years ago)
Author:
vboxsync
Message:

getenv() => RTEnvGet()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VM.cpp

    r5032 r5099  
    5252#include <iprt/alloc.h>
    5353#include <iprt/asm.h>
     54#include <iprt/env.h>
    5455#include <iprt/string.h>
    5556#include <iprt/time.h>
    5657#include <iprt/semaphore.h>
    5758#include <iprt/thread.h>
    58 
    59 #include <stdlib.h> /* getenv */
    6059
    6160
     
    410409             * If executing in fake suplib mode disable RR3 and RR0 in the config.
    411410             */
    412             const char *psz = getenv("VBOX_SUPLIB_FAKE");
     411            const char *psz = RTEnvGet("VBOX_SUPLIB_FAKE");
    413412            if (psz && !strcmp(psz, "fake"))
    414413            {
     
    657656     */
    658657    int rc = VINF_SUCCESS;
    659     const char *psz = getenv("VBOX_SUPLIB_FAKE");
     658    const char *psz = RTEnvGet("VBOX_SUPLIB_FAKE");
    660659    if (!psz || strcmp(psz, "fake"))
    661660    {
     
    689688     */
    690689    int rc = VINF_SUCCESS;
    691     const char *psz = getenv("VBOX_SUPLIB_FAKE");
     690    const char *psz = RTEnvGet("VBOX_SUPLIB_FAKE");
    692691    if (!psz || strcmp(psz, "fake"))
    693692    {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette