box_set(3curses)


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(3curses) 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(3curses), hline_set(3curses), curses(4)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004