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

44 lines
1001 B
C

#ifdef _POWER_PROLOG_
static char sccsid[] = "@(#)81 1.1 src/bos/usr/ccs/lib/libcurses/slk_atrset.c, libcurses, bos411, 9428A410j 9/3/93 15:12:37";
/*
* COMPONENT_NAME: LIBCURSES
*
* FUNCTIONS: slk_attrset
*
*
* 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/slk_atrset.c 1.1" */
#include "curses_inc.h"
slk_attrset (a)
chtype a;
{
WINDOW *win;
/* currently we change slk attribute only when using software */
/* slk's. However, we may introduce a new terminfo variable */
/* which would allow manipulating the hardware slk's as well */
if ((SP->slk == NULL) || ((win = SP->slk->_win) == NULL))
return (ERR);
return (wattrset (win, a));
}