home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
old
/
ckermit5a190
/
ckstst.c
< prev
next >
Wrap
C/C++ Source or Header
|
2020-01-01
|
612b
|
40 lines
#include <stdio.h>
#include "ckcdeb.h"
#include "ckcker.h"
extern long timezone;
extern int dstadjust;
CHAR *zinbuffer, *zoutbuffer;
CHAR *zinptr, *zoutptr;
int zincnt, zoutcnt;
char *homdir;
int wildxpand;
char *lp;
dodebug(){};
fatal(s) char *s;
{
fprintf(stderr, "%s\n", s);
exit(1);
}
main(argc, argv)
int argc;
char *argv[];
{
struct zattr kerm_stuff;
zchki("ckstst.c");
zsattr(&kerm_stuff);
printf("%s\n", kerm_stuff.date.val);
printf("zfcdat()=%s\n", zfcdat("ckstst.c"));
printf("timezone=%ld\n", timezone);
printf("dstadjust=%d\n", dstadjust);
zstime("ckstst.tmp", &kerm_stuff, 0);
}