DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

box_set(CURSES)


box_set -- draw borders from complex characters and renditions

Synopsis

cc [options] file -lcurses
#include <curses.h>

int box_set(WINDOW *win, const cchar_t *verch, const cchar_t *horch);

Description

The box_set(CURSES) 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.

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

border_set(CURSES), hline_set(CURSES), curses(F)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005