*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> addchstr (3)              
Title
Content
Arch
Section
 

curs_addchstr(3)

Contents


NAME    [Toc]    [Back]

       curs_addchstr, addchstr, addchnstr, waddchstr, waddchnstr,
       mvaddchstr, mvaddchnstr, mvwaddchstr, mvwaddchnstr  -  Add
       string of characters (and attributes) to a Curses window

SYNOPSIS    [Toc]    [Back]

       #include <curses.h>

       int addchstr(
               const chtype *chstr ); int addchnstr(
               const chtype *chstr,
               int n ); int waddchstr(
               WINDOW *win,
               const chtype *chstr ); int waddchnstr(
               WINDOW *win,
               const chtype *chstr,
               int n ); int mvaddchstr(
               int y,
               int x,
               const chtype *chstr ); int mvaddchnstr(
               int y,
               int x,
               const chtype *chstr,
               int n ); int mvwaddchstr(
               WINDOW *win,
               int y,
               int x,
               const chtype *chstr ); int mvwaddchnstr(
               WINDOW *win,
               int y,
               int x,
               const chtype *chstr,
               int n );

LIBRARY    [Toc]    [Back]

       Curses Library (libcurses)

STANDARDS    [Toc]    [Back]

       Interfaces  documented  on  this reference page conform to
       industry standards as follows:

       addchstr, waddchstr, mvaddchstr,  mvwaddchstr,  addchnstr,
       waddchnstr, mvaddchnstr, mvwaddchnstr:  XCURSES4.2

       Refer to the standards(5) reference page for more information
 about industry standards and associated tags.

DESCRIPTION    [Toc]    [Back]

       All of these routines copy chstr directly into the  window
       image  structure starting at the current or specified cursor
 position. The four routines with n as the  last  argument
 copy at most n elements, but no more than will fit on
       the line. If n=-1, then all the routines  copy  the  whole
       string,  up  to the maximum number that fit on the line or
       until a null terminator is reached.

       The routines do not advance the  position  of  the  window
       cursor. They work faster than waddnstr because they merely
       copy chstr into the window image structure. On  the  other
       hand,  care  must  be  taken  when  using  these functions
       because they: Do not perform any kind of checking (such as
       for  the  newline  character)  Do  not advance the current
       cursor position Truncate the string, rather then  wrapping
       it around to a new line

NOTES    [Toc]    [Back]

       The  header  file  <curses.h>  automatically  includes the
       header file <stdio.h>.

       Note that all routines except waddchstr and waddchnstr may
       be macros.

RETURN VALUES    [Toc]    [Back]

       All  routines  return  the integer ERR upon failure and OK
       upon successful completion.

SEE ALSO    [Toc]    [Back]

      
      
       Functions: curses(3)

       Others: standards(5)



                                                 curs_addchstr(3)
[ Back ]
 Similar pages
Name OS Title
curs_inchstr FreeBSD get a string of characters (and attributes) from a curses window
mvwaddchstr FreeBSD add a string of characters (and attributes) to a curses window
waddchnstr FreeBSD add a string of characters (and attributes) to a curses window
waddchstr FreeBSD add a string of characters (and attributes) to a curses window
curs_inchstr Tru64 Get a string of characters (and attributes) from a Curses window
mvwinchnstr Tru64 Get a string of characters (and attributes) from a Curses window
mvwinchstr Tru64 Get a string of characters (and attributes) from a Curses window
mvaddchnstr OpenBSD add a string of characters (and attributes) to a curses window
mvaddchstr OpenBSD add a string of characters (and attributes) to a curses window
winchnstr OpenBSD get a string of characters (and attributes) from a curses window
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service