31 #ifndef _FREERTOS_POSIX_UTILS_ 32 #define _FREERTOS_POSIX_UTILS_ 50 size_t UTILS_strnlen(
const char *
const pcString,
64 int UTILS_AbsoluteTimespecToTicks(
const struct timespec *
const pxAbsoluteTime,
65 TickType_t *
const pxResult );
76 int UTILS_TimespecToTicks(
const struct timespec *
const pxTimespec,
77 TickType_t *
const pxResult );
87 void UTILS_NanosecondsToTimespec( int64_t llSource,
88 struct timespec *
const pxDestination );
99 int UTILS_TimespecAdd(
struct timespec *
const pxResult,
112 int UTILS_TimespecAddNanoseconds(
struct timespec *
const pxResult,
114 int64_t llNanoseconds );
125 int UTILS_TimespecSubtract(
struct timespec *
const pxResult,
138 bool UTILS_ValidateTimespec(
const struct timespec *
const pxTimespec );
represents an elapsed time
Definition: time.h:78