FreeCalypso > hg > freecalypso-tools
comparison rvinterf/lowlevel/output.c @ 928:65953c172f24
rvinterf/lowlevel: new hex dump format
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 23 May 2023 05:23:19 +0000 |
parents | a1065c17429c |
children | ec5f51d33fdc |
comparison
equal
deleted
inserted
replaced
927:4e243402f453 | 928:65953c172f24 |
---|---|
38 curtm->tm_mon+1, curtm->tm_mday); | 38 curtm->tm_mon+1, curtm->tm_mday); |
39 fprintf(logF, "[%02d:%02d:%02d] %s\n", curtm->tm_hour, curtm->tm_min, | 39 fprintf(logF, "[%02d:%02d:%02d] %s\n", curtm->tm_hour, curtm->tm_min, |
40 curtm->tm_sec, item); | 40 curtm->tm_sec, item); |
41 bcopy(curtm, &last_tm, sizeof(struct tm)); | 41 bcopy(curtm, &last_tm, sizeof(struct tm)); |
42 } | 42 } |
43 | |
44 void | |
45 output_cont(item) | |
46 char *item; | |
47 { | |
48 if (!no_output) | |
49 printf("%s\n", item); | |
50 if (logF) | |
51 fprintf(logF, "%s\n", item); | |
52 } |