addchstr man page on Minix

Man page or keyword search:  
man Server   6208 pages
apropos Keyword Search (all sections)
Output format
Minix logo
[printable version]

CURSES_ADDCHSTR(3)	 BSD Library Functions Manual	    CURSES_ADDCHSTR(3)

NAME
     curses_addchstr, addchstr, waddchstr, addchnstr, waddchnstr, mvaddchstr,
     mvwaddchstr, mvaddchnstr, mvwaddchnstr — curses add character strings to
     windows routines

LIBRARY
     Curses Library (libcurses, -lcurses)

SYNOPSIS
     #include <curses.h>

     int
     addchstr(const chtype *chstr);

     int
     waddchstr(WINDOW *win, const chtype *chstr);

     int
     mvaddchstr(int y, int x, const chtype *chstr);

     int
     mvwaddchstr(WINDOW *win, int y, int x, const chtype *chstr);

     int
     addchnstr(const chtype *chstr, int n);

     int
     waddchnstr(WINDOW *win, const chtype *chstr, int n);

     int
     mvaddchnstr(int y, int x, const chtype *chstr, int n);

     int
     mvwaddchnstr(WINDOW *win, int y, int x, const chtype *chstr, int n);

DESCRIPTION
     These functions add character strings and attributes to stdscr or to the
     specified window.

     The addchstr() function will add the characters and their attributes
     passed in chstr to stdscr starting at the current cursor position.	 Any
     character attributes set in chstr will be merged with the background
     attributes currently set on stdscr.  The waddstr() function does the same
     as addchstr() but adds the string to the window specified by win().

     The addchnstr() function will add the contents of string to stdscr but
     will limit the number of characters added to be, at most, n.  If n is -1
     then addchnstr will add the number of characters contained in the null
     terminated string chstr.  Any character attributes set in chstr will be
     merged with the background attributes currently set on stdscr.

     The waddchnstr() function does the same as addchnstr but adds the string
     to the window specified by win.

     The functions mvaddchstr(), mwaddchnstr(), mvwaddchstr() and
     mvwaddchnstr() are the same as the functions addchstr(), waddchstr(),
     waddchstr() and waddchnstr(), respectively, except that wmove() is called
     to move the cursor to the position specified by y, x before the string is
     added to the window.

RETURN VALUES
     The functions will return one of the following values:

     OK	  The function completed successfully.
     ERR  An error occurred in the function.

SEE ALSO
     curses_addch(3), curses_addstr(3), curses_attributes(3),
     curses_cursor(3), curses_inch(3)

STANDARDS
     The NetBSD Curses library complies with the X/Open Curses specification,
     part of the Single Unix Specification.

HISTORY
     These functions first appeared in NetBSD 2.0.

BSD				 May 21, 2003				   BSD
[top]

List of man pages available for Minix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net