Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ hline(3X) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

border(3X)

box(3X)

curses(3X)

curses(5)

hline(3X)                                                         hline(3X)

NAME
     hline, mvhline, mvvline, mvwhline, mvwvline, vline, whline, wvline -
     draw lines from single-byte characters and renditions

SYNOPSIS
     cc [flag ...] file ... -lcurses [library ...]

     #include <curses.h>

     int hline(chtype ch, int n);

     int mvhline(int y, int x, chtype ch, int n);

     int mvvline(int y, int x, chtype ch, int n);

     int mvwhline(WINDOW *win, int y, int x, chtype ch, int n);

     int mvwvline(WINDOW *win, int y, int x, chtype ch, int n);

     int vline(chtype ch, int n);

     int whline(WINDOW *win, chtype ch, int n);

     int wvline(WINDOW *win, chtype ch, int n);

DESCRIPTION
     These functions draw a line in the current or specified window start-
     ing at the current or specified position, using ch. The line is at
     most n positions long, or as many as fit into the window.

     These functions do not advance the cursor position. These functions do
     not perform special character processing. These functions do not per-
     form wrapping.

     The hline(), mvhline(), mvwhline() and whline() functions draw a line
     proceeding toward the last column of the same line.

     The vline(), mvvline(), mvwvline() and wvline() functions draw a line
     proceeding toward the last line of the window.

RETURN VALUE
     Upon successful completion, these functions return OK. Otherwise, they
     return ERR.

ERRORS
     No errors are defined.

NOTES
     These functions are only guaranteed to operate reliably on character
     sets in which each character fits into a single byte, whose attributes
     can be expressed using only constants with the A prefix.




Page 1                       Reliant UNIX 5.44                Printed 11/98

hline(3X)                                                         hline(3X)

SEE ALSO
     border(3X), box(3X), curses(3X), hlineset(3X), curses(5).




















































Page 2                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026