hammer2 - Embed cache_index heuristic in chain structure
[dragonfly.git] / contrib / nvi2 / ex / ex_version.c
blobdc18aa1a9aeb1c44921f49cb610581f4d61ce49a
1 /*-
2 * Copyright (c) 1991, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 * Copyright (c) 1991, 1993, 1994, 1995, 1996
5 * Keith Bostic. All rights reserved.
7 * See the LICENSE file for redistribution information.
8 */
10 #include "config.h"
12 #ifndef lint
13 static const char sccsid[] = "$Id: ex_version.c,v 10.32 2001/06/25 15:19:22 skimo Exp $";
14 #endif /* not lint */
16 #include <sys/types.h>
17 #include <sys/queue.h>
18 #include <sys/time.h>
20 #include <bitstring.h>
21 #include <limits.h>
22 #include <stdio.h>
24 #include "../common/common.h"
25 #include "version.h"
28 * ex_version -- :version
29 * Display the program version.
31 * PUBLIC: int ex_version(SCR *, EXCMD *);
33 int
34 ex_version(SCR *sp, EXCMD *cmdp)
36 msgq(sp, M_INFO, "Version "VI_VERSION
37 " The CSRG, University of California, Berkeley.");
38 return (0);