- dst->tv_sec = a->tv_sec - b->tv_sec;
- if (a->tv_usec >= b->tv_usec)
- dst->tv_usec = a->tv_usec - b->tv_usec;
- else {
- dst->tv_usec = a->tv_usec + MILLION - b->tv_usec;
- dst->tv_sec--;
- }
+ TV_SUB(dst, a, b);
+}
+
+/* --- @tv_subl@ --- *
+ *
+ * Arguments: @struct timeval *dst@ = destination block
+ * @const struct timeval *a@ = source blocks
+ * @time_t sec@, @unsigned long usec@ = time to subtract
+ *
+ * Returns: ---
+ *
+ * Use: Subtracts a literal time in seconds and microseconds.
+ */
+
+void tv_subl(struct timeval *dst, const struct timeval *a,
+ time_t sec, unsigned long usec)
+{
+ TV_SUBL(dst, a, sec, usec);