16 logmsg(
WHO,111,FATAL,
"out of memory");
26 {
"date", 0, 0, 0, 0, &
t, 0 }
27, { 0, 0, 0, 0, 0, 0, 0 }
33int main(
int argc,
char **argv)
36 logmsg(
WHO,111,FATAL,
"unable to init leapsecs: ");
43 if (getln(buffer_0,&
line,&
match,
'\n') == -1)
44 logmsg(
WHO,111,FATAL,
"unable to read input: ");
55 buffer_put(buffer_1,
"\n",1);
62 buffer_put(buffer_1,
"\n",1);
74 buffer_puts(buffer_1,ctime(&
secunix));
76 buffer_flush(buffer_1);
unsigned char secpack[TAI_PACK]
unsigned int caltime_fmt(char *s, struct caltime *ct)
int mess822_line(mess822_header *, stralloc *)
int mess822_end(mess822_header *)
int mess822_ok(stralloc *)
int mess822_begin(mess822_header *, mess822_action *)
void caltime_tai(struct caltime *ct, struct tai *t)
void caltime_utc(struct caltime *ct, struct tai *t, int *pwday, int *pyday)