|
DataMuseum.dkPresents historical artifacts from the history of: Commodore CBM-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Commodore CBM-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 243 (0xf3) Types: TextFile Notes: UNIX file Names: »TIME.c«
└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code └─⟦2d53db1df⟧ UNIX Filesystem └─⟦this⟧ »frankh/src/TIME.c«
#include <sys/timeb.h> #include <time.h> struct timeb systim; main() { /* struct timeb systim = { 0L, 0, 0, 0 }; */ char *ctime(); char *astime; ftime(&systim); astime = ctime(&systim); printf("%s\n", astime); printf("Done!\n"); }