[Previous] [Contents] [Index] [Next]

PfDynamicUnload()

Unload a dynamically loaded font

Synopsis:

long PfDynamicUnload( long lDynamicFontID );

Library:

ph

Description:

This function unloads a dynamically loaded font. The lDynamicFontID argument is a font ID returned by PfDynamicLoad(), and identifies the font to unload.

Returns:

0L on success, or -1L if an error occurred (errno is set).

Errors:

ESRCH
The function couldn't locate the given dynamic font ID or font file entry.
EBADF
An error occurred when attempting to close and remove the font file from the affected library.
ENOMEM
Not enough memory was available to proceed with the unload.
EINVAL
An invalid condition was encountered, possibly due to an invalid font file.

Examples:

See PfDynamicLoad().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PfDynamicLoad()

Fonts chapter of the Photon Programmer's Guide


[Previous] [Contents] [Index] [Next]