Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ border_set(3X) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

curses(3X)

curses(5)

border_set(3X)                                               border_set(3X)

NAME
     borderset, wborderset - draw borders from complex characters and
     renditions

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

     #include <curses.h>

     int borderset(const cchart *ls, const cchart *rs, const cchart *ts,
             const cchart *bs, const cchart *tl, const cchart *tr,
             const cchart *bl, const cchart *br);

     int wborderset(WINDOW *win, const cchart *ls, const cchart *rs,
             const cchart *ts, const cchart *bs,
             const cchart *tl, const cchart *tr,
             const cchart *bl, const cchart *br);

DESCRIPTION
     The borderset() and wborderset() functions draw a border around the
     edges of the current or specified window. These functions do not
     advance the cursor position. These functions do not perform special
     character processing. These functions do not perform wrapping.

     The arguments in the left-hand column of the following table contain
     spacing complex characters with renditions, which have the following
     uses in drawing the border:

     ______________________________________________________________________
    | Argument                                                 Default    |
    |   Name                      Usage                         Value     |
    |_____________________________________________________________________|
    | ls         Starting-column side                       WACSVLINE    |
    | rs         Ending-column side                         WACSVLINE    |
    | ts         First-line side                            WACSHLINE    |
    | bs         Last-line side                             WACSHLINE    |
    | tl         Corner of the first line and the start-    WACSULCORNER |
    |            ing column                                               |
    | tr         Corner of the first line and the ending    WACSURCORNER |
    |            column                                                   |
    | bl         Corner of the last line and the starting   WACSBLCORNER |
    |            column                                                   |
    | br         Corner of the last line and the ending     WACSBRCORNER |
    |            column                                                   |
    |_____________________________________________________________________|

     If the value of any argument in the left-hand column is a null
     pointer, then the default value in the right-hand column is used. If
     the value of any argument in the left-hand column is a multi-column
     character, the results are undefined.





Page 1                       Reliant UNIX 5.44                Printed 11/98

border_set(3X)                                               border_set(3X)

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

ERRORS
     No errors are defined.

SEE ALSO
     boxset(3X), curses(3X), hlineset(3X), curses(5).













































Page 2                       Reliant UNIX 5.44                Printed 11/98

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