/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright (c) 1995-1998 by Sun Microsystems, Inc.
* All rights reserved.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/* LINTLIBRARY */
/*
*
* XCurses Library
*
* Copyright 1990, 1995 by Mortice Kern Systems Inc. All rights reserved.
*
*/
#ifdef M_RCSID
#ifndef lint
static char rcsID[] =
"$Header: /team/ps/sun_xcurses/archive/local_changes/xcurses/src/lib/"
"libxcurses/src/libc/xcurses/rcs/prefresh.c 1.4 1998/06/03 16:06:14 "
"cbates Exp $";
#endif
#endif
#include <private.h>
/*
* Update newscr with the given pad then display to the terminal.
*/
int
{
int code;
return (code);
}
/*
* Update newscr with the given pad. This allows newscr to
* be updated with several windows before doing a doupdate().
*
* MKS extension permits windows that are not pads to be refreshed
* using this function.
*/
int
{
/* Adjust regions to be within bounds. */
if (pminr < 0)
pminr = 0;
if (pminc < 0)
pminc = 0;
if (sminr < 0)
sminr = 0;
if (sminc < 0)
sminc = 0;
return (ERR);
/* Clear displayed region. */
}
/*
* Determine the proper maximums in case smaxr and smaxc mapped
* beyond the bottom and right-hand edges of the pad.
*/
/* Remember refresh region (inclusive). */
/* Last refreshed window controls W_LEAVE_CURSOR flag. */
/* Figure out where to leave the cursor. */
return (OK);
}