On 07/07/15 03:27, Rohan Arora wrote:
Also, I see that in the pmSetMode() documentation, to read an archive in
reverse order you use pmSetMode(PM_MODE_BACK, timeval, delta). The
example gave the value 0x7fffffff for timeval.tv_sec, but I was
wondering, is that guaranteed to read from the end of the archive? In my
case, I always just want to read the last x entries in the log.
For all practical purposes (at least for a few more years, till around
2038) this will work.
Alternatively, use
pmGetArchiveEnd(&mytime)
|