GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: usr.bin/vi/build/../vi/v_redraw.c Lines: 0 1 0.0 %
Date: 2017-11-07 Branches: 0 0 0.0 %

Line Branch Exec Source
1
/*	$OpenBSD: v_redraw.c,v 1.6 2014/11/12 04:28:41 bentley Exp $	*/
2
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.
8
 *
9
 * See the LICENSE file for redistribution information.
10
 */
11
12
#include "config.h"
13
14
#include <sys/types.h>
15
#include <sys/queue.h>
16
#include <sys/time.h>
17
18
#include <bitstring.h>
19
#include <limits.h>
20
#include <stdio.h>
21
22
#include "../common/common.h"
23
#include "vi.h"
24
25
/*
26
 * v_redraw -- ^L, ^R
27
 *	Redraw the screen.
28
 *
29
 * PUBLIC: int v_redraw(SCR *, VICMD *);
30
 */
31
int
32
v_redraw(SCR *sp, VICMD *vp)
33
{
34
	return (sp->gp->scr_refresh(sp, 1));
35
}