|
|
BSD 4.1
/* Copyright (c) 1979 Regents of the University of California */
static char sccsid[] = "@(#)version.c 1.1 8/27/80";
/*
* this writes the declaration of the character string version
* onto standard output.
* useful for makeing Version.c give the correct date for pi.
*/
#include <time.h>
char *ctime();
long clock;
char *cstring;
main()
{
time( &clock );
cstring = ctime( &clock );
cstring[ 24 ] = '\0';
printf( "char version[] = \"%s\";\n" , cstring );
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.