HM_terminate()

Terminates a program.

Syntax

void HM_terminate(char * format, char * message);

Type

HyperMesh hmlib Function

Description

Terminates a program.

Inputs

format
A pointer to a character string that contains a format statement to be used in the printf family of functions.
message
A pointer to a character string that contains a message.

Example

If a function is defined by HM_setterminatefunction(), HM_terminate calls this function and then calls exit. No messages are displayed; this is left to HM_setterminatefunction().

Errors

None.