home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / c-kermit / ckstst.c < prev    next >
C/C++ Source or Header  |  2020-01-01  |  612b  |  40 lines

  1. #include <stdio.h>
  2. #include "ckcdeb.h"
  3. #include "ckcker.h"
  4.  
  5. extern long timezone;
  6. extern int dstadjust;
  7.  
  8. CHAR *zinbuffer, *zoutbuffer;
  9. CHAR *zinptr, *zoutptr;
  10. int zincnt, zoutcnt;
  11. char *homdir;
  12. int wildxpand;
  13. char *lp;
  14.  
  15. dodebug(){};
  16.  
  17. fatal(s) char *s;
  18. {
  19.     fprintf(stderr, "%s\n", s);
  20.     exit(1);
  21. }
  22.  
  23. main(argc, argv)
  24. int    argc;
  25. char    *argv[];
  26. {
  27.     struct zattr    kerm_stuff;
  28.  
  29.     zchki("ckstst.c");
  30.     zsattr(&kerm_stuff);
  31.     printf("%s\n", kerm_stuff.date.val);
  32.     printf("zfcdat()=%s\n", zfcdat("ckstst.c"));
  33.  
  34.     printf("timezone=%ld\n", timezone);
  35.     printf("dstadjust=%d\n", dstadjust);
  36.     zstime("ckstst.tmp", &kerm_stuff, 0);
  37.     
  38. }
  39.  
  40.