Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fm_load(3G)

fm_getname(3G)

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

fm_load(3G). 

DIAGNOSTICS

A −1 is returned if gfd or fontid is not valid; 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