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
use_default_colors(3x) - redhat
curses_color(3) - netbsd
ncurses_has_colors(3) - php
ncurses_pair_content(3) - php
ncurses_start_color(3) - php
Similar Topics in the Unix Linux Community
Reverse Display
Color putty
how to set background color in Unix terminal
Reasonable useful life for e2900
Text color in Linux scripts via putty