|
Azure SDK for Embedded C
|
Defines platform-specific functionality used by the Azure SDK. More...
#include <azure/core/az_result.h>#include <stdbool.h>#include <stdint.h>#include <azure/core/_az_cfg_prefix.h>#include <azure/core/_az_cfg_suffix.h>Go to the source code of this file.
Functions | |
| AZ_NODISCARD az_result | az_platform_clock_msec (int64_t *out_clock_msec) |
| Gets the platform clock in milliseconds. More... | |
| AZ_NODISCARD az_result | az_platform_sleep_msec (int32_t milliseconds) |
| Tells the platform to sleep for a given number of milliseconds. More... | |
Defines platform-specific functionality used by the Azure SDK.
| AZ_NODISCARD az_result az_platform_clock_msec | ( | int64_t * | out_clock_msec | ) |
Gets the platform clock in milliseconds.
| [out] | out_clock_msec | Platform clock in milliseconds. |
| AZ_OK | Success. |
| AZ_ERROR_DEPENDENCY_NOT_PROVIDED | No platform implementation was supplied to support this function. |
| AZ_NODISCARD az_result az_platform_sleep_msec | ( | int32_t | milliseconds | ) |
Tells the platform to sleep for a given number of milliseconds.
| [in] | milliseconds | Number of milliseconds to sleep. |
milliseconds is a non-positive value (0 or less than 0).| AZ_OK | Success. |
| AZ_ERROR_DEPENDENCY_NOT_PROVIDED | No platform implementation was supplied to support this function. |
1.8.20