Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fm_fontdir(3G) — HP-UX ANSI C A.10.11

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fm_write(3G)

fm_fontdir(3G)

NAME

fm_fontdir − set character direction

SYNOPSIS

int fm_fontdir ( gfd, direction );
int gfd, direction;

DESCRIPTION

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

direction Direction for character printing, valid values are:

’u’-write characters upward
’d’-write characters downward
’l’-write characters to the left
’r’-write characters to the right

DISCUSSION

Sets the character printing direction as defined by direction.  This write direction remains in effect until a different font is activated. 

SEE ALSO

fm_write(3G). 

DIAGNOSTICS

Returns −1 if gfd is not valid or direction is out of range; otherwise, 0 is returned.  See errno(2) in HP-UX Reference for more information. 

Hewlett-Packard Company  —  HP-UX Release 10.0

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