Query: ncurses_pair_content
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
NCURSES_PAIR_CONTENT(3) 1 NCURSES_PAIR_CONTENT(3) ncurses_pair_content - Retrieves foreground and background colors of a color pairSYNOPSISint ncurses_pair_content (int $pair, int &$f, int &$b)DESCRIPTIONRetrieves the foreground and background colors that constitute the given color pair. Terminal color capabilities must be initialized with ncurses_start_color(3) prior to calling this function.PARAMETERSo $pair - The number of the color pair to retrieve information for. o $f - A reference to which to return the foreground color of the color pair. The information returned will be a color number referring to one of the pre-defined colors or a color defined previously by ncurses_init_color(3) if the terminal supports color changing. o $b - A reference to which to return the background color of the color pair. The information returned will be a color number referring to one of the pre-defined colors or a color defined previously by ncurses_init_color(3) if the terminal supports color changing.RETURN VALUESReturns -1 if the function was successful, and 0 if ncurses or terminal color capabilities have not been initialized.SEE ALSOncurses_init_pair(3), ncurses_start_color(3). PHP Documentation Group NCURSES_PAIR_CONTENT(3)
Related Man Pages |
---|
assume_default_colors(3x) - redhat |
default_colors(3x) - redhat |
color_content(3) - netbsd |
ncurses_init_color(3) - php |
ncurses_pair_content(3) - php |
Similar Topics in the Unix Linux Community |
---|
Terminal colors |
Vi in color |
Change color on another terminal |
How to change the background color in the init 3 mode(not line color) |
Text color in Linux scripts via putty |