1: /* Copyright (c) 1979 Regents of the University of California */
   2: 
   3: static  char sccsid[] = "@(#)version.c	2.1";    /*	SCCS id keyword 	*/
   4: 
   5:     /*
   6:      *	this writes the declaration of the character string version
   7:      *	onto standard output.
   8:      *	useful for makeing Version.c give the correct date for pi.
   9:      */
  10: 
  11: #include    <time.h>
  12: 
  13: char        *ctime();
  14: 
  15: long        clock;
  16: char        *cstring;
  17: 
  18: main()
  19:     {
  20:     time( &clock );
  21:     cstring = ctime( &clock );
  22:     cstring[ 24 ] = '\0';
  23:     printf( "char	version[] = \"%s\";\n" , cstring );
  24:     }

Defined functions

main defined in line 18; never used

Defined variables

clock defined in line 15; used 2 times
cstring defined in line 16; used 3 times
sccsid defined in line 3; never used
Last modified: 1981-12-07
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1782
Valid CSS Valid XHTML 1.0 Strict