2 * tvtoa - return an asciized representation of a struct timeval
5 #include "lib_strbuf.h"
10 #include "ntp_stdlib.h"
11 #include "ntp_unixtime.h"
17 const struct timeval *tv
25 if (tv->tv_sec < 0 || tv->tv_usec < 0) {
37 (void) sprintf(buf, "%s%lu.%06lu", (isneg?"-":""), sec, usec);