timespec_getres
int timespec_getres(struct timespec *ts, int base);
ATF_TP_ADD_TC(tp, timespec_getres);
ATF_TC(timespec_getres);
ATF_TC_HEAD(timespec_getres, tc)
ATF_TC_BODY(timespec_getres, tc)
ATF_REQUIRE_EQ(timespec_getres(&ts, TIME_MONOTONIC), TIME_MONOTONIC);
ATF_REQUIRE_EQ(timespec_getres(&ts, TIME_UTC), TIME_UTC);
ATF_REQUIRE_EQ(timespec_getres(&ts, INT_MAX), 0);