/* -*-c-*-
*
- * $Id: tv.h,v 1.3 1999/05/06 19:51:36 mdw Exp $
+ * $Id: tv.h,v 1.4 1999/05/17 20:37:25 mdw Exp $
*
* Manipulation of timeval structures
*
/*----- Revision history --------------------------------------------------*
*
* $Log: tv.h,v $
+ * Revision 1.4 1999/05/17 20:37:25 mdw
+ * New function `tv_addl' to add a literal to a time value.
+ *
* Revision 1.3 1999/05/06 19:51:36 mdw
* Reformatted the LGPL notice a little bit.
*
const struct timeval */*a*/,
const struct timeval */*b*/);
+/* --- @tv_addl@ --- *
+ *
+ * Arguments: @struct timeval *dst@ = destination block
+ * @const struct timeval *a@ = source blocks
+ * @time_t sec@, @unsigned long usec@ = time to add
+ *
+ * Returns: ---
+ *
+ * Use: Adds a literal time in seconds and microseconds.
+ */
+
+extern void tv_addl(struct timeval */*dst*/,
+ const struct timeval */*a*/,
+ time_t /*sec*/, unsigned long /*usec*/);
+
/* --- @tv_sub@ --- *
*
* Arguments: @struct timeval *dst@ = destination block