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