diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-07-23 21:20:13 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-07-23 21:20:13 +0000 |
commit | a8d3a59992970b350c84b6330592df657f919080 (patch) | |
tree | ecdb217d8210502c80484fb89fdaa25775a54fb1 /lib/libcurses/curs_bkgd.3 | |
parent | 65d74b2bc105ada6c49c16682e6ee5bb92b84b03 (diff) |
ncurses-4.2-980718
Diffstat (limited to 'lib/libcurses/curs_bkgd.3')
-rw-r--r-- | lib/libcurses/curs_bkgd.3 | 45 |
1 files changed, 36 insertions, 9 deletions
diff --git a/lib/libcurses/curs_bkgd.3 b/lib/libcurses/curs_bkgd.3 index d32430507f7..1fc0d90c9cd 100644 --- a/lib/libcurses/curs_bkgd.3 +++ b/lib/libcurses/curs_bkgd.3 @@ -1,11 +1,38 @@ -.\" $OpenBSD: curs_bkgd.3,v 1.4 1997/12/03 05:44:54 millert Exp $ -.\" Id: curs_bkgd.3x,v 1.10 1996/07/20 23:48:30 tom Exp $ +.\"*************************************************************************** +.\" Copyright (c) 1998 Free Software Foundation, Inc. * +.\" * +.\" Permission is hereby granted, free of charge, to any person obtaining a * +.\" copy of this software and associated documentation files (the * +.\" "Software"), to deal in the Software without restriction, including * +.\" without limitation the rights to use, copy, modify, merge, publish, * +.\" distribute, distribute with modifications, sublicense, and/or sell * +.\" copies of the Software, and to permit persons to whom the Software is * +.\" furnished to do so, subject to the following conditions: * +.\" * +.\" The above copyright notice and this permission notice shall be included * +.\" in all copies or substantial portions of the Software. * +.\" * +.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * +.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * +.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * +.\" IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * +.\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * +.\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * +.\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. * +.\" * +.\" Except as contained in this notice, the name(s) of the above copyright * +.\" holders shall not be used in advertising or otherwise to promote the * +.\" sale, use or other dealings in this Software without prior written * +.\" authorization. * +.\"*************************************************************************** +.\" +.\" $From: curs_bkgd.3x,v 1.12 1998/03/14 23:43:31 tom Exp $ +.\" $OpenBSD: curs_bkgd.3,v 1.5 1998/07/23 21:17:31 millert Exp $ .TH curs_bkgd 3 "" -. .SH NAME \fBbkgdset\fR, \fBwbkgdset\fR, \fBbkgd\fR, \fBwbkgd\fR - \fBcurses\fR window background manipulation routines -. +.. .SH SYNOPSIS \fB#include <curses.h>\fR @@ -19,7 +46,7 @@ .br \fBchtype getbkgd(WINDOW *win);\fR .br -. +.. .SH DESCRIPTION The \fBbkgdset\fR and \fBwbkgdset\fR routines manipulate the background of the named window. @@ -50,21 +77,21 @@ appears, it is changed to the new background character. The \fBgetbkgd\fR function returns the given window's current background character/attribute pair. -. +.. .SH RETURN VALUE The routines \fBbkgd\fR and \fBwbkgd\fR return the integer \fBOK\fR. The SVr4.0 manual says "or a non-negative integer if \fBimmedok\fR is set", but this appears to be an error. -. +.. .SH NOTES Note that \fBbkgdset\fR and \fBbkgd\fR may be macros. -. +.. .SH PORTABILITY These functions are described in the XSI Curses standard, Issue 4. The draft does not include \fBconst\fR qualifiers on the arguments. The standard specifies that \fBbkgd\fR and \fBwbkgd\fR return \fBERR\fR, on failure. but gives no failure conditions. -. +.. .SH SEE ALSO \fBcurses\fR(3), \fBcurs_addch\fR(3), \fBcurs_outopts\fR(3) .\"# |