UTILS_ValidateTimespec() function
Checks that a timespec conforms to POSIX. A valid timespec must have 0 <= tv_nsec < 1000000000.
Syntax
bool UTILS_ValidateTimespec( const struct timespec * const pxTimespec ); Arguments
pxTimespec
The timespec to validate.
Return value
true if the pxTimespec is valid, false otherwise.