HPlogo HP-UX Reference > B

box_set(3X)

ENHANCED CURSES
HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

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.