Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ addch(3X) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

attroff(3X)

curses(3X)

doupdate(3X)

curses(5)

addch(3X)                                                         addch(3X)

NAME
     addch, mvaddch, mvwaddch, waddch - add a single-byte character and
     rendition to a window and advance the cursor

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

     #include <curses.h>

     int addch(const chtype ch);

     int mvaddch(int y, int x, const chtype ch);

     int mvwaddch(WINDOW *win, int y, int x, const chtype ch);

     int waddch(WINDOW *win, const chtype ch);

DESCRIPTION
     The addch(), mvaddch(), mvwaddch() and waddch() functions place ch
     into the current or specified window at the current or specified posi-
     tion, and then advance the window's cursor position. These functions
     perform wrapping. These functions perform special-character process-
     ing.

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.

SEE ALSO
     addwch(3X), attroff(3X), curses(3X), doupdate(3X), curses(5).

















Page 1                       Reliant UNIX 5.44                Printed 11/98

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