+ If the terminal does not support color, or if color has not been
+ started with <B>start_color</B>, the new background character's color
+ attribute will be ignored.
+
+
+</PRE><H3><a name="h3-getbkgd">getbkgd</a></H3><PRE>
+ The <B>getbkgd</B> function returns the given window's current background
+ character/attribute pair.
+
+
+</PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE>
+ These functions are described in the XSI Curses standard, Issue 4. It
+ specifies that <B>bkgd</B> and <B>wbkgd</B> return <B>ERR</B> on failure, but gives no
+ failure conditions.
+
+ The routines <B>bkgd</B> and <B>wbkgd</B> return the integer <B>OK</B>, unless the library
+ has not been initialized.
+
+ In contrast, the SVr4.0 manual says <B>bkgd</B> and <B>wbkgd</B> may return <B>OK</B> "or a
+ non-negative integer if <B>immedok</B> is set", which refers to the return
+ value from <B>wrefresh</B> (used to implement the immediate repainting). The
+ SVr4 curses <B>wrefresh</B> returns the number of characters written to the
+ screen during the refresh. This implementation does not do that.
+
+
+</PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE>
+ Note that <B>bkgdset</B> and <B>bkgd</B> may be macros.
+
+ X/Open Curses mentions that the character part of the background must
+ be a single-byte value. This implementation, like SVr4, checks to
+ ensure that, and will reuse the old background character if the check
+ fails.
+
+
+</PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
+ These functions are described in the XSI Curses standard, Issue 4
+ (X/Open Curses).
+
+
+</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
+ <B><A HREF="curses.3X.html">curses(3X)</A></B>, <B><A HREF="curs_addch.3X.html">curs_addch(3X)</A></B>, <B><A HREF="curs_attr.3X.html">curs_attr(3X)</A></B>, <B><A HREF="curs_outopts.3X.html">curs_outopts(3X)</A></B>