Files
seta75D d6fe8fe829 Init
2021-10-11 22:19:34 -03:00

43 lines
1.0 KiB
C

#ifdef _POWER_PROLOG_
static char sccsid[] = "@(#)71 1.1 src/bos/usr/ccs/lib/libcurses/V3.upd_old_y.c, libcurses, bos411, 9428A410j 9/3/93 15:00:00";
/*
* COMPONENT_NAME: LIBCURSES
*
* FUNCTIONS: * _update_old_y_area
*
*
* ORIGINS: 4
*
* SOURCE MATERIALS
*/
#endif /* _POWER_PROLOG_ */
/* Copyright (c) 1984 AT&T */
/* All Rights Reserved */
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
/* The copyright notice above does not evidence any */
/* actual or intended publication of such source code. */
/* #ident "@(#)curses:screen/V3.upd_old_y.c 1.2" */
#include "curses_inc.h"
extern int _outchar();
#ifdef _VR3_COMPAT_CODE
void
_update_old_y_area(win, nlines, ncols, start_line, start_col)
WINDOW *win;
int nlines, ncols, start_line, start_col;
{
int row, col, num_cols;
for (row = start_line; nlines > 0; nlines--, row++)
for (num_cols = ncols, col = start_col; num_cols > 0; num_cols--, col++)
win->_y16[row][col] = _TO_OCHTYPE(win->_y[row][col]);
}
#endif /* _VR3_COMPAT_CODE */