home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
old
/
ckermit5a190
/
ckstst.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-12-08
|
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);
}