fm_getname(3w)
NAME
fm_getname − translate font id to filename
SYNOPSIS
int fm_getname(gfd,fontid,filename);
int gfd,fontid;
char *filename;
DESCRIPTION
gfd is an integer file descriptor for an gopened device interface.
fontid is the font id as returned by fm_load.
filename array of characters to contain font filename.
DISCUSSION
The filename that was given to fm_load to create fontid is returned in filename.
It is the responsibility of the caller to assure that filename points to a area large enough to contain the entire filename.
SEE ALSO
DIAGNOSTICS
A −1 is returned if gfd or fontid is not valid; otherwise, 0 is returned. See errno(2) for more information.
Hewlett-Packard Company — HP-UX Release 9.03: April 1994