Expand PMF_FN_* macros.
[netbsd-mini2440.git] / dist / nvi / ex / ex_version.c
blob634c37fd3b25edadfdd024b834359402433b8b64
1 /* $NetBSD$ */
3 /*-
4 * Copyright (c) 1991, 1993, 1994
5 * The Regents of the University of California. All rights reserved.
6 * Copyright (c) 1991, 1993, 1994, 1995, 1996
7 * Keith Bostic. All rights reserved.
9 * See the LICENSE file for redistribution information.
12 #include "config.h"
14 #ifndef lint
15 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";
16 #endif /* not lint */
18 #include <sys/types.h>
19 #include <sys/queue.h>
21 #include <bitstring.h>
22 #include <limits.h>
23 #include <stdio.h>
25 #include "../common/common.h"
26 #include "version.h"
29 * ex_version -- :version
30 * Display the program version.
32 * PUBLIC: int ex_version __P((SCR *, EXCMD *));
34 int
35 ex_version(SCR *sp, EXCMD *cmdp)
37 msgq(sp, M_INFO, "Version "VI_VERSION
38 " The CSRG, University of California, Berkeley.");
39 return (0);