xref: /original-bsd/usr.bin/pascal/px/version.c (revision c3e32dec)
1 /*-
2  * Copyright (c) 1980, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  */
7 
8 #ifndef lint
9 static char copyright[] =
10 "@(#) Copyright (c) 1980, 1993\n\
11 	The Regents of the University of California.  All rights reserved.\n";
12 #endif /* not lint */
13 
14 #ifndef lint
15 static char sccsid[] = "@(#)version.c	8.1 (Berkeley) 06/06/93";
16 #endif /* not lint */
17 
18     /*
19      *	this writes the declaration of the current time stamp
20      *	onto standard output.
21      *	useful for making Version.c to give the creation date for px.
22      */
23 
24 extern long time();
25 
26 main()
27 {
28 	printf( "long	createtime = %D;\n" , time(0) );
29 	exit(0);
30 }
31