Return to man_action.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.20, 2009/10/24 05:45:04 | version 1.21, 2009/10/27 08:26:12 | ||
---|---|---|---|
|
|
||
struct tm tm; | struct tm tm; | ||
char *pp; | char *pp; | ||
bzero(&tm, sizeof(struct tm)); | memset(&tm, 0, sizeof(struct tm)); | ||
if ((pp = strptime(p, "%b %d %Y", &tm)) && 0 == *pp) | if ((pp = strptime(p, "%b %d %Y", &tm)) && 0 == *pp) | ||
return(mktime(&tm)); | return(mktime(&tm)); |