Add preliminary db1.c from Aymeric Vincent <xmimic@free.fr>
[nvi.git] / ex / ex_version.c
blob99fe684841d45bdf0a9366a5092732389e3996f1
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 $ (Berkeley) $Date: 2001/06/25 15:19:22 $";
14 #endif /* not lint */
16 #include <sys/types.h>
17 #include <sys/queue.h>
19 #include <bitstring.h>
20 #include <limits.h>
21 #include <stdio.h>
23 #include "../common/common.h"
24 #include "version.h"
27 * ex_version -- :version
28 * Display the program version.
30 * PUBLIC: int ex_version __P((SCR *, EXCMD *));
32 int
33 ex_version(SCR *sp, EXCMD *cmdp)
35 msgq(sp, M_INFO, VI_VERSION);
36 return (0);