box_set(3X)
ENHANCED CURSES
NAME
box_set — draw borders from complex characters and renditions
SYNOPSIS
#include <curses.h>
int box_set(WINDOW *win, cchar_t *const verch, cchar_t *const horch);
DESCRIPTION
The box_set() function draws a border around the edges of the specified window. This function does not advance the cursor position. This function does not perform special character processing. This function does not perform wrapping.
The function box_set(win, verch, horch) has an effect equivalent to:
wborder_set(win, verch, verch, horch, horch,
NULL, NULL, NULL, NULL);
RETURN VALUE
Upon successful completion, this function returns OK. Otherwise, it returns ERR.
ERRORS
No errors are defined.
SEE ALSO
border_set(), hline_set(), <curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 4.
Hewlett-Packard Company — HP-UX Release 10.20: July 1996