version 1.10, 2009/08/20 13:32:09 |
version 1.12, 2009/10/27 08:26:12 |
|
|
#include <stdlib.h> |
#include <stdlib.h> |
#include <stdio.h> |
#include <stdio.h> |
#include <string.h> |
#include <string.h> |
|
#include <time.h> |
|
|
#include "libmdoc.h" |
#include "libmdoc.h" |
|
|
Line 130 mdoc_atotime(const char *p) |
|
Line 131 mdoc_atotime(const char *p) |
|
struct tm tm; |
struct tm tm; |
char *pp; |
char *pp; |
|
|
bzero(&tm, sizeof(struct tm)); |
memset(&tm, 0, sizeof(struct tm)); |
|
|
if (0 == strcmp(p, "$" "Mdocdate$")) |
if (0 == strcmp(p, "$" "Mdocdate$")) |
return(time(NULL)); |
return(time(NULL)); |