David Wortham wrote: > Sorry if this isn't the primary focus of this message-list, but I have a > general question about APR and timestamps (more about apr_int64_t). > > The typedef of apr_time_t is apr_int64_t. I assume this type is 64 bits > long on a 64 bit system. Is it 64 bits long on a 32bit (or smaller) > system?
Yes. > The "printf" family of functions only seems to print out the correct number > using the "%llu" placeholder (in my 64bit experience). Will this > placeholder work gracefully with architectures less than 64bit? Will 64bit > and a 32bit modules will return the same string using "%llu"? No. > I found a lot of issues involving printing Probably - so did we. Which is why you will find APR_TIME_T_FMT. Alternately, factor into a forced (int) of the value / APR_USEC_PER_SEC.