DataMuseum.dk

Presents historical artifacts from the history of:

Commodore CBM-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Commodore CBM-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦73a5de8a6⟧ TextFile

    Length: 243 (0xf3)
    Types: TextFile
    Notes: UNIX file
    Names: »TIME.c«

Derivation

└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code
    └─⟦2d53db1df⟧ UNIX V7 Filesystem
        └─ ⟦this⟧ »frankh/src/TIME.c« 

TextFile

#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");
}