Sortix volatile manual
This manual documents Sortix volatile, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
curses_border, border, box, wborder — curses border drawing routinesLIBRARY
Curses Library (libcurses, -lcurses)SYNOPSIS
#include <curses.h>border(chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br);
box(WINDOW *win, chtype vertical, chtype horizontal);
wborder(WINDOW *win, chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br);
DESCRIPTION
These functions draw borders around stdscr or around the specified window.ls | ACS_VLINE |
rs | ACS_VLINE |
ts | ACS_HLINE |
bs | ACS_HLINE |
tl | ACS_ULCORNER |
tr | ACS_URCORNER |
bl | ACS_LLCORNER |
br | ACS_LRCORNER |
RETURN VALUES
Functions returning pointers will return NULL if an error is detected. The functions that return an int will return one of the following values:- OK
- The function completed successfully.
- ERR
- An error occurred in the function.