Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > H

hline_set(3X)

ENHANCED CURSES
HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

hline_set, mvhline_set, mvvline_set, mvwhline_set, mvwvline_set, vline_set, whline_set, wvline_set — draw lines from complex characters and renditions

SYNOPSIS

#include <curses.h>

int hline_set(const cchar_t *wch, int n);

int mvhline_set(int y, int x, const cchar_t *wch, int n);

int mvvline_set(int y, int x, const cchar_t *wch, int n);

int mvwhline_set(WINDOW *win, int y, int x, const cchar_t *wch, int n);

int mvwvline_set(WINDOW *win, int y, int x, const cchar_t *wch, int n);

int vline_set(const cchar_t *wch, int n);

int whline_set(WINDOW *win, const cchar_t *wch, int n);

int wvline_set(WINDOW *win, const cchar_t *wch, int n);

DESCRIPTION

These functions draw a line in the current or specified window starting 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 perform wrapping.

The hline_set(), mvhline_set(), mvwhline_set() and whline_set() functions draw a line proceeding toward the last column of the same line.

The vline_set(), mvvline_set(), mvwvline_set() and wvline_set() 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.

SEE ALSO

border_set(3X), <curses.h>.

CHANGE HISTORY

First released in X/Open Curses, Issue 4.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.