ts1 1039 source3/include/proto.h struct timespec timespec_min(const struct timespec *ts1, ts1 1041 source3/include/proto.h int timespec_compare(const struct timespec *ts1, const struct timespec *ts2); ts1 706 source3/lib/time.c struct timespec timespec_min(const struct timespec *ts1, ts1 709 source3/lib/time.c if (ts1->tv_sec < ts2->tv_sec) return *ts1; ts1 710 source3/lib/time.c if (ts1->tv_sec > ts2->tv_sec) return *ts2; ts1 711 source3/lib/time.c if (ts1->tv_nsec < ts2->tv_nsec) return *ts1; ts1 722 source3/lib/time.c int timespec_compare(const struct timespec *ts1, const struct timespec *ts2) ts1 724 source3/lib/time.c if (ts1->tv_sec > ts2->tv_sec) return 1; ts1 725 source3/lib/time.c if (ts1->tv_sec < ts2->tv_sec) return -1; ts1 726 source3/lib/time.c if (ts1->tv_nsec > ts2->tv_nsec) return 1; ts1 727 source3/lib/time.c if (ts1->tv_nsec < ts2->tv_nsec) return -1;