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