static void time_to_env (char *envar, struct timespec t) { char buf[TIMESPEC_STRSIZE_BOUND]; if (setenv (envar, code_timespec (t, buf), 1) != 0) xalloc_die (); }
static void code_time (struct timespec t, char const *keyword, struct xheader *xhdr) { char buf[TIMESPEC_STRSIZE_BOUND]; xheader_print (xhdr, keyword, code_timespec (t, buf)); }