Function time_ts_make_abs

Function Documentation

status_t time_ts_make_abs(const struct timespec *rel, struct timespec *out)

Convert a relative timeout to an absolute one using clock_realtime() as a basis.

Required for many POSIX functions.

Parameters:
  • rel – A relative timout.

  • out – The converted absolute timeout.