Function time_ts_cmp

Function Documentation

int time_ts_cmp(const struct timespec *a, const struct timespec *b)

Compare two timespecs.

Parameters:
  • a – Timespec #1

  • b – Timespec #2

Returns:

<, =, or > 0, dedpending if a is found to be >, =, or > b