Daniel Lovasko
Daniel Lovasko

Reputation: 481

Big-endian serialisation of struct timeval

What would be the best way to serialise the struct timeval type obtained via the gettimeofday(2) call? I would like to stick to some standard, so htobe64(3) and friends will not do. The time_t type could possibly be a 64-bit integer and there is no clear way how to serialise those object.

Upvotes: 0

Views: 183

Answers (0)

Related Questions