Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
curses_line, hline, whline, vline, wvline, mvhline, mvwhline, mvvline, mvwvline — curses draw lines on windows routinesLIBRARY
Curses Library (libcurses, -lcurses)SYNOPSIS
#include <curses.h>hline(chtype ch, int n);
whline(WINDOW *win, chtype ch, int n);
mvhline(int y, int x, chtype ch, int n);
mvwvline(WINDOW *win, int y, int x, chtype c, int n);
vline(chtype c, int n);
wvline(WINDOW *win, chtype c, int n);
mvvline(int y, int x, chtype ch, int n);
mvwhline(WINDOW *win, int y, int x, chtype c, int n);
DESCRIPTION
These functions draw lines on stdscr or on the specified window.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.