PfRestartServerDll()

Restart a local server

Synopsis:

#include <font_api.h>
int PfRestartServerDll( fontdll_t dll );

Arguments:

dll
A font server context, returned by PfAttachLocalDll().

Library:

font

Description:

This function restarts the local server associated with the provided dll context. All font DLL settings are retained during the restart.

Returns:

0
Success
-1
An error occurred (errno is set).

Examples:

See the example for PfAttachLocalDll().

Classification:

Photon

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes

See also:

PfAttachLocalDll().

Fonts chapter of the Photon Programmer's Guide