mvchgat man page on NetBSD

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

CURSES_CHGAT(3)		 BSD Library Functions Manual	       CURSES_CHGAT(3)

NAME
     chgat, wchgat, mvchgat, mvwchgat — curses on-screen attribute manipula‐
     tion routines

LIBRARY
     Curses Library (libcurses, -lcurses)

SYNOPSIS
     #include <curses.h>

     int
     chgat(int n, attr_t attr, short color, const void *opts);

     int
     wchgat(WINDOW *win, int n, attr_t attr, short color, const void *opts);

     int
     mvchgat(int y, int x, int n, attr_t attr, short color, const void *opts);

     int
     mvwchgat(WINDOW *win, int y, int x, int n, attr_t attr, short color,
	 const void *opts);

DESCRIPTION
     These functions modify the attributes of the drawn content on stdscr or
     on the specified window.

     The chgat() function sets the attributes of the next n characters to attr
     and the color pair to color.  If n is negative or larger than the remain‐
     der of the line, it gets truncated.

     The wchgat() is the same as the chgat() function, excepting that the
     attributes are changed in the window specified by win.

     The mvchgat() and mvwchgat() functions are the same as the chgat() and
     wchgat() functions, respectively, excepting that they operate from the
     position specified by y, x.

     These functions do not perform wrapping.  They do not update the cursor
     position.

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

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

SEE ALSO
     curses_attributes(3)

STANDARDS
     The chgat(), wchgat(), mvchgat(), and mvwchgat() functions conform to
     X/Open Curses Issue 4, Version 2 (“XCURSES4.2”).

HISTORY
     The Curses package appeared in 4.0BSD.  Support for the chgat() family
     was added in NetBSD 6.0.

BSD				 July 6, 2009				   BSD
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

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