Time

Contains time related os apis. More...

Functions

OS_RETURN_CODE OS_Time (UINT64 *CurrentTime)
OS_RETURN_CODE OS_GetDefaultTimeZone (CHAR *tzname, USIZE buflen)

Detailed Description


Function Documentation

OS_RETURN_CODE OS_GetDefaultTimeZone CHAR *  tzname,
USIZE  buflen
 

Retrieves a string containing the default timezone for the current host.

Parameters:
[out] tzname Points to a buffer that will be filled with the timezone string.
[in] buflen Size in bytes of the buffer provided for the 'tzname' argument.
Return values:
OS_RETURN_CODE_NO_ERROR If the operation succeeded
OS_RETURN_CODE_TIME_QUERY_FAILED If the operation failed
Returns:
Operation status code.
Availability:
O/S: Windows, Linux & OS X*
CPU: All

OS_RETURN_CODE OS_Time UINT64 *  CurrentTime  ) 
 

Retrieves current time in 1us ticks since 1970.

Parameters:
[out] CurrentTime Current time
Return values:
OS_RETURN_CODE_NO_ERROR If the operation succeeded
OS_RETURN_CODE_TIME_QUERY_FAILED If the operation failed
Returns:
Operation status code.
Availability:
O/S: Windows, Linux & OS X*
CPU: All


Generated on Sun Aug 27 14:29:31 2017 for PinCRT by  doxygen 1.4.6