Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fm_getname(3W) — HP-UX 5.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fm_load(3W)

FM_GETNAME(3W)

Series 300 and 500 Only

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 large enough area to contain the entire filename. 

HARDWARE DEPENDENCIES

Series 500:
Font manager routines do not support HP-15 (2-byte) fonts on Series 500.

SEE ALSO

fm_load(3W). 

DIAGNOSTICS

A -1 is refurned if gfd or fontid is not valid; otherwise, 0 is returned.  See errno(2) for more information.

Hewlett-Packard Company  —  May 11, 2021

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