# 2.11BSD#431 - /usr/src/ucb/pascal/pi/version.c

##### Functions

    main              X

##### Variables

    clock             X
    cstring           X

       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

- in line 20-21(2)

cstring defined in line 16; used 3 times

- in line 21-23(3)

sccsid defined in line 3; never used

Last modified: 1981-12-07 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 442 |