Expand PMF_FN_* macros.
[netbsd-mini2440.git] / dist / nvi / vi / v_status.c
blob213f2420a0962aedcb0b8e2d2d7e15ea05409575
1 /* $NetBSD$ */
3 /*-
4 * Copyright (c) 1992, 1993, 1994
5 * The Regents of the University of California. All rights reserved.
6 * Copyright (c) 1992, 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: v_status.c,v 10.10 2001/06/25 15:19:35 skimo Exp (Berkeley) Date: 2001/06/25 15:19:35";
16 #endif /* not lint */
18 #include <sys/types.h>
19 #include <sys/queue.h>
20 #include <sys/stat.h>
21 #include <sys/time.h>
23 #include <bitstring.h>
24 #include <limits.h>
25 #include <stdio.h>
27 #include "../common/common.h"
28 #include "vi.h"
31 * v_status -- ^G
32 * Show the file status.
34 * PUBLIC: int v_status __P((SCR *, VICMD *));
36 int
37 v_status(SCR *sp, VICMD *vp)
39 (void)msgq_status(sp, vp->m_start.lno, MSTAT_SHOWLAST);
40 return (0);