int border(ls, rs, ts, bs, tl, tr, bl, br)
int wborder(win, ls, rs, ts, bs, tl, tr, bl, br)
int box(win, vert, hor)
Draw a border around the edges of a window ( or
win). In the following table you see the characters
and their default values when zero in a call to box(...).
In the picture you can see the position from the characters in a box.
Table 8.3: Ncurses - border characters
Figure 8.2: Ncurses - box characters