Sept. 6, 1998
4:29 p.m.
Markus Kuhn wrote on 1998-09-04 19:28 UTC:
// display a brocken down time
size_t strfxtime(char * restrict s, size_t maxsize, const char * restrict format, const struct xtm * restrict timeptr);
Actually, while thinking about it, I believe it might be both more efficient and more flexible to pass to strfxtime the original xtime_t value plus the timezone descriptor, and not the broken-down struct xtm: size_t strfxtime(char * restrict s, size_t maxsize, const char * restrict format, const struct xtime * restrict timeptr, const timezone_t * restrict tzptr); Markus -- Markus G. Kuhn, Security Group, Computer Lab, Cambridge University, UK email: mkuhn at acm.org, home page: <http://www.cl.cam.ac.uk/~mgk25/>