|
PACS System 0.1.0
PACS DICOM system library
|
Compatibility header for cross-platform time functions. More...
#include <ctime>

Go to the source code of this file.
Namespaces | |
| namespace | kcenon |
| namespace | kcenon::pacs |
| namespace | kcenon::pacs::compat |
Functions | |
| std::tm * | kcenon::pacs::compat::localtime_safe (const std::time_t *time, std::tm *result) |
| Cross-platform thread-safe local time conversion. | |
| std::tm * | kcenon::pacs::compat::gmtime_safe (const std::time_t *time, std::tm *result) |
| Cross-platform thread-safe UTC time conversion. | |
Compatibility header for cross-platform time functions.
This header provides a unified interface for time functions that differ between POSIX (Unix/Linux/macOS) and Windows.
Key differences:
Usage: #include <kcenon/pacs/compat/time.h> std::tm tm{}; kcenon::pacs::compat::localtime_safe(&time_val, &tm);
Definition in file time.h.