Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fm_colors(3w) — HP-UX 9.03

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fm_write(3w)

fm_colors(3w)

NAME

fm_colors − set active font’s foreground and background colors

SYNOPSIS

int  fm_colors(gfd,foreground,background);
int gfd,foreground,background;

DESCRIPTION

gfd is an integer file descriptor for an gopened device interface. 

foreground is the new foreground color; valid values are device dependent. 

background is the new background color; valid values are device dependent. 

DISCUSSION

Sets the foreground and background colors as would be used by fm_write. 

Though the colors are device dependent, it is generally safe to assume that 0 is black (off) and 1 is white (on). 

SEE ALSO

fm_write(3w). 

DIAGNOSTICS

Returns −1 if gfd is not valid or the color is out of range.  See errno(2) for more information.

Hewlett-Packard Company  —  HP-UX Release 9.03: April 1994

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026