ncurses_pair_content(3) php man page | unix.com

Man Page: ncurses_pair_content

Operating Environment: php

Section: 3

NCURSES_PAIR_CONTENT(3) 						 1						   NCURSES_PAIR_CONTENT(3)

ncurses_pair_content - Retrieves foreground and background colors of a color pair

SYNOPSIS
int ncurses_pair_content (int $pair, int &$f, int &$b)
DESCRIPTION
Retrieves 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.
PARAMETERS
o $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 VALUES
Returns -1 if the function was successful, and 0 if ncurses or terminal color capabilities have not been initialized.
SEE ALSO
ncurses_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
has_colors(3) - netbsd
ncurses_init_pair(3) - php
Similar Topics in the Unix Linux Community
what is an "FA pair" in san storage?
how to set background color in Unix terminal
Vi in color
Change color on another terminal
How to change the background color in the init 3 mode(not line color)