the script used to extract a release
[nvi.git] / ex / ex_version.c
blob088c218e6f3473ffbd23089d88aa60768d91218d
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.31 1996/08/22 11:57:11 bostic Exp $ (Berkeley) $Date: 1996/08/22 11:57:11 $";
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(sp, cmdp)
34 SCR *sp;
35 EXCMD *cmdp;
37 msgq(sp, M_INFO, VI_VERSION);
38 return (0);