|
|
1.1 ! root 1: /* date.c */ ! 2: ! 3: #include "tws.h" ! 4: #include <stdio.h> ! 5: ! 6: ! 7: /* ARGSUSED */ ! 8: ! 9: main (argc, argv) ! 10: int argc; ! 11: char **argv; ! 12: { ! 13: struct tws *t; ! 14: char buf[1024]; ! 15: ! 16: while (gets(buf)) { ! 17: t = dparsetime (buf); ! 18: printf ("%s\n", dasctime (t)); ! 19: } ! 20: exit (0); ! 21: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.