VirtualBox

Changeset 26209 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Feb 3, 2010 4:54:41 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57234
Message:

IPRT: Added RTTimeSet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/time.h

    r25857 r26209  
    602602 *
    603603 * @returns pTime.
    604  * @param   pTime   Where to store the time.
     604 * @param   pTime       Where to store the time.
    605605 */
    606606RTDECL(PRTTIMESPEC) RTTimeNow(PRTTIMESPEC pTime);
     607
     608/**
     609 * Sets the system time.
     610 *
     611 * @returns IPRT status code
     612 * @param   pTime       The new system time (UTC).
     613 *
     614 * @remarks This will usually fail because changing the wall time is usually
     615 *          requires extra privileges.
     616 */
     617RTDECL(int) RTTimeSet(PCRTTIMESPEC pTime);
    607618
    608619/**
Note: See TracChangeset for help on using the changeset viewer.

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