Lines Matching defs:timestr
55 static char *timestr (time_t sec);
61 ** timestr (sec)
63 static char *timestr (time_t sec)
66 static char timestr[31+1]; /* 27+1 should be enough */
70 strftime (timestr, sizeof (timestr), "%b %d %Y %T %z", t);
82 snprintf (timestr, sizeof (timestr), "%s %2d %4d %02d:%02d:%02d %c%02d%02d",
89 return timestr;
180 printf ("\t%s\n", timestr (serial) );