Revision 14302,
803 bytes
checked in by ghudson, 25 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r14301,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
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. |
---|
6 | * |
---|
7 | * See the LICENSE file for redistribution information. |
---|
8 | */ |
---|
9 | |
---|
10 | #include "config.h" |
---|
11 | |
---|
12 | #ifndef lint |
---|
13 | static const char sccsid[] = "@(#)v_status.c 10.9 (Berkeley) 5/15/96"; |
---|
14 | #endif /* not lint */ |
---|
15 | |
---|
16 | #include <sys/types.h> |
---|
17 | #include <sys/queue.h> |
---|
18 | #include <sys/stat.h> |
---|
19 | #include <sys/time.h> |
---|
20 | |
---|
21 | #include <bitstring.h> |
---|
22 | #include <limits.h> |
---|
23 | #include <stdio.h> |
---|
24 | |
---|
25 | #include "../common/common.h" |
---|
26 | #include "vi.h" |
---|
27 | |
---|
28 | /* |
---|
29 | * v_status -- ^G |
---|
30 | * Show the file status. |
---|
31 | * |
---|
32 | * PUBLIC: int v_status __P((SCR *, VICMD *)); |
---|
33 | */ |
---|
34 | int |
---|
35 | v_status(sp, vp) |
---|
36 | SCR *sp; |
---|
37 | VICMD *vp; |
---|
38 | { |
---|
39 | (void)msgq_status(sp, vp->m_start.lno, MSTAT_SHOWLAST); |
---|
40 | return (0); |
---|
41 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.