lint
[nvi.git] / vi / v_at.c
blob071f0b4e2cd2e8473c97bdce8f6823ae7c97384f
1 /*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
5 * %sccs.include.redist.c%
6 */
8 #ifndef lint
9 static char sccsid[] = "$Id: v_at.c,v 8.3 1993/08/25 16:48:04 bostic Exp $ (Berkeley) $Date: 1993/08/25 16:48:04 $";
10 #endif /* not lint */
12 #include <sys/types.h>
14 #include <ctype.h>
15 #include <errno.h>
16 #include <stdlib.h>
17 #include <string.h>
19 #include "vi.h"
20 #include "excmd.h"
21 #include "vcmd.h"
23 int
24 v_at(sp, ep, vp, fm, tm, rp)
25 SCR *sp;
26 EXF *ep;
27 VICMDARG *vp;
28 MARK *fm, *tm, *rp;
30 EXCMDARG cmd;
32 SETCMDARG(cmd, C_AT, 0, OOBLNO, OOBLNO, 0, NULL);
33 cmd.buffer = vp->buffer;
34 return (sp->s_ex_cmd(sp, ep, &cmd, rp));