HP-UX Reference (11i v2 07/12) - 3 Library Functions A-M (vol 6)

b
box_set(3X) box_set(3X)
(ENHANCED CURSES)
NAME
box_set() - draw borders from complex characters and renditions
SYNOPSIS
#include <curses.h>
int box_set(WINDOW *win, const cchar_t *verch, const cchar_t *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(3X), hline_set(3X), <curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 4.
HP-UX 11i Version 2: December 2007 Update 1 Hewlett-Packard Company 137