DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

hline_set(3curses)


hline_set -- draw lines from complex characters and renditions

Synopsis

cc [options] file -lcurses
#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(3curses), mvhline_set(3curses), mvwhline_set(3curses) and whline_set(3curses) functions draw a line proceeding toward the last column of the same line.

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

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

border_set(3curses), curses(4)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004