Annotation of src/usr.bin/mg/version.c, Revision 1.7
1.7 ! art 1: /* $OpenBSD: version.c,v 1.6 2003/05/20 03:08:55 cloder Exp $ */
1.4 niklas 2:
1.1 deraadt 3: /*
4: * This file contains the string that get written
5: * out by the emacs-version command.
6: */
7:
1.3 millert 8: #include "def.h"
1.1 deraadt 9:
1.5 mickey 10: const char version[] = "Mg 2a";
1.1 deraadt 11:
12: /*
13: * Display the version. All this does
14: * is copy the version string onto the echo line.
15: */
1.2 millert 16: /* ARGSUSED */
1.3 millert 17: int
1.6 cloder 18: showversion(int f, int n)
1.1 deraadt 19: {
1.7 ! art 20: ewprintf("%s", version);
1.1 deraadt 21: return TRUE;
22: }