box(3cur)box(3cur)Namebox - draw boxSyntax
#include <cursesX.h>
int box(win, vert, hor)
WINDOW *win;
chtype vert, hor;
Description
The routine draws a box around the edge of the window. The arguments
and are the vertical and horizontal characters the box is to be drawn
with.
If and are 0 or unspecified, then default characters are used.
If scrolling is disabled and the window encompasses the bottom right
corner of the screen, all corners are left blank to avoid an illegal
scroll.
Return Values
The function returns OK on success and ERR on error.
box(3cur)