VirtualBox

Changeset 68113 in vbox for trunk


Ignore:
Timestamp:
Jul 25, 2017 6:37:32 PM (7 years ago)
Author:
vboxsync
Message:

Added RTTimeZoneGetCurrent for getting TZ.

Location:
trunk
Files:
2 added
3 edited

Legend:

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

    r68107 r68113  
    22512251# define RTTimeZoneGetInfoByWindowsName                 RT_MANGLER(RTTimeZoneGetInfoByWindowsName)
    22522252# define RTTimeZoneGetInfoByWindowsIndex                RT_MANGLER(RTTimeZoneGetInfoByWindowsIndex)
     2253# define RTTimeZoneGetCurrent                           RT_MANGLER(RTTimeZoneGetCurrent)
    22532254# define RTTlsAlloc                                     RT_MANGLER(RTTlsAlloc)
    22542255# define RTTlsAllocEx                                   RT_MANGLER(RTTlsAllocEx)
  • trunk/include/iprt/time.h

    r68107 r68113  
    10941094RTDECL(PCRTTIMEZONEINFO) RTTimeZoneGetInfoByWindowsIndex(uint32_t idxZone);
    10951095
     1096/**
     1097 * Get the current time zone (TZ).
     1098 *
     1099 * @returns IPRT status code.
     1100 * @param   pszName     Where to return the time zone name.
     1101 * @param   cbName      The size of the name buffer.
     1102 */
     1103RTDECL(int) RTTimeZoneGetCurrent(char *pszName, size_t cbName);
     1104
    10961105/** @} */
    10971106
  • trunk/src/VBox/Runtime/Makefile.kmk

    r68107 r68113  
    823823        r3/win/RTSystemQueryDmiString-win.cpp \
    824824        r3/win/RTSystemQueryTotalRam-win.cpp \
     825        r3/win/RTTimeZoneGetCurrent-win.cpp \
    825826        r3/win/alloc-win.cpp \
    826827        r3/win/allocex-win.cpp \
     
    884885        generic/utf16locale-generic.cpp \
    885886        generic/uuid-generic.cpp \
     887        r3/generic/RTTimeZoneGetCurrent-generic.cpp \
    886888        r3/posix/allocex-r3-posix.cpp \
    887889        r3/linux/RTThreadGetNativeState-linux.cpp \
     
    992994        os2/RTErrConvertFromOS2.cpp \
    993995        r3/generic/allocex-r3-generic.cpp \
     996        r3/generic/RTTimeZoneGetCurrent-generic.cpp \
    994997        r3/os2/filelock-os2.cpp \
    995998        r3/os2/mp-os2.cpp \
     
    10711074        r3/darwin/RTPathUserDocuments-darwin.cpp \
    10721075        r3/generic/allocex-r3-generic.cpp \
     1076        r3/generic/RTTimeZoneGetCurrent-generic.cpp \
    10731077        r3/posix/RTFileQueryFsSizes-posix.cpp \
    10741078        r3/posix/RTHandleGetStandard-posix.cpp \
     
    11411145        r3/freebsd/rtProcInitExePath-freebsd.cpp \
    11421146        r3/generic/allocex-r3-generic.cpp \
     1147        r3/generic/RTTimeZoneGetCurrent-generic.cpp \
    11431148        r3/posix/RTFileQueryFsSizes-posix.cpp \
    11441149        r3/posix/RTHandleGetStandard-posix.cpp \
     
    12101215        r3/netbsd/rtProcInitExePath-netbsd.cpp \
    12111216        r3/generic/allocex-r3-generic.cpp \
     1217        r3/generic/RTTimeZoneGetCurrent-generic.cpp \
    12121218        r3/posix/RTFileQueryFsSizes-posix.cpp \
    12131219        r3/posix/RTHandleGetStandard-posix.cpp \
     
    12721278        generic/RTThreadGetNativeState-generic.cpp \
    12731279        r3/generic/allocex-r3-generic.cpp \
     1280        r3/generic/RTTimeZoneGetCurrent-generic.cpp \
    12741281        r3/posix/RTFileQueryFsSizes-posix.cpp \
    12751282        r3/posix/RTFileSetAllocationSize-posix.cpp \
     
    13591366        r3/haiku/time-haiku.cpp \
    13601367        r3/generic/allocex-r3-generic.cpp \
     1368        r3/generic/RTTimeZoneGetCurrent-generic.cpp \
    13611369        r3/posix/RTFileQueryFsSizes-posix.cpp \
    13621370        r3/posix/RTHandleGetStandard-posix.cpp \
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