fm_fontdir(3w)
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
DIAGNOSTICS
Returns −1 if gfd is not valid or direction is out of range; otherwise, 0 is returned. See errno(2) for more information.
Hewlett-Packard Company — HP-UX Release 9.10: April 1995