FONTGETNAME_TERM0(3W)
NAME
fontgetname_term0 − inquire the name of a Term0 font
SYNOPSIS
#include <stdio.h>
char *fontgetname_term0(fd,id);
int fd, id;
DESCRIPTION
fd is an integer file descriptor for an opened Term0 window type device interface.
id identifies the font whose path name is desired.
DISCUSSION
This routine returns the name of the specified font, if it is currently loaded. Its return value is a pointer to static storage which is modified every time this routine is called.
This routine is intended to support programs wishing to use font manager inquiry routines in conjunction with Term0 font routines.
HARDWARE DEPENDENCIES
Series 500:
Term0 routines do not support HP-15 (2-byte) fonts on Series 500.
SEE ALSO
fontgetid_term0(3W),fm_fileinfo(3W).
DIAGNOSTICS
A return of NULL indicates an error; otherwise the font name is returned. Errors can occur if the requested font is not present in Term0’s cache. See errno(2) for more information.
Hewlett-Packard Company — HP-UX Release 8.0: January 1991