Commit 66d72002 authored by Mark Andrews's avatar Mark Andrews

update isc_time_set's description

parent 739240a9
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: time.h,v 1.36 2007/06/19 23:47:19 tbox Exp $ */
/* $Id: time.h,v 1.37 2008/09/08 06:51:10 marka Exp $ */
#ifndef ISC_TIME_H
#define ISC_TIME_H 1
......@@ -90,15 +90,17 @@ extern isc_time_t *isc_time_epoch;
void
isc_time_set(isc_time_t *t, unsigned int seconds, unsigned int nanoseconds);
/*%<
* Set 't' to a particular number of seconds + nanoseconds since the epoch.
* Set 't' to a value which represents the given number of seconds and
* nanoseconds since 00:00:00 January 1, 1970, UTC.
*
* Notes:
*\li This call is equivalent to:
*\li The Unix version of this call is equivalent to:
*\code
* isc_time_settoepoch(t);
* isc_interval_set(i, seconds, nanoseconds);
* isc_time_add(t, i, t);
*\endcode
*
* Requires:
*\li 't' is a valid pointer.
*\li nanoseconds < 1000000000.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment