VirtualBox

Changeset 6423 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jan 21, 2008 6:18:45 PM (17 years ago)
Author:
vboxsync
Message:

Outlined how to handle the requests on solaris.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3Lib.cpp

    r6408 r6423  
    174174    return RTErrConvertFromOS2(rc);
    175175
     176#elif defined(RT_OS_SOLARIS) && 0
     177    VBGLBIGREQ Hdr;
     178    Hdr.u32Magic = VBGLBIGREQ_MAGIC;
     179    Hdr.cbData = cbData;
     180    Hdr.pvData = pvData;
     181    Assert(_IOC_SIZE(iFunction) == sizeof(Hdr));
     182
     183    int rc = ioctl((int)File, iFunction, &Hdr);
     184    if (rc == -1)
     185        rc = errno;
     186    return rc;
     187
    176188    /* PORTME */
    177189#else
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