Re-enable line cache.
[nvi.git] / vi / v_status.c
blobee3370c362f16de5314e56ac11bf99db8276684c
1 /*-
2 * Copyright (c) 1992, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 * Copyright (c) 1992, 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: v_status.c,v 10.9 1996/05/15 17:40:35 bostic Exp $ (Berkeley) $Date: 1996/05/15 17:40:35 $";
14 #endif /* not lint */
16 #include <sys/types.h>
17 #include <sys/queue.h>
18 #include <sys/stat.h>
19 #include <sys/time.h>
21 #include <bitstring.h>
22 #include <limits.h>
23 #include <stdio.h>
25 #include "../common/common.h"
26 #include "vi.h"
29 * v_status -- ^G
30 * Show the file status.
32 * PUBLIC: int v_status __P((SCR *, VICMD *));
34 int
35 v_status(sp, vp)
36 SCR *sp;
37 VICMD *vp;
39 (void)msgq_status(sp, vp->m_start.lno, MSTAT_SHOWLAST);
40 return (0);