HMRES_terminate()

Allows a user-specified message to be sent before the program is terminated.

Syntax

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

Type

HyperMesh hmreslib Function

Description

Allows a user-specified message to be sent before the program is terminated.

Inputs

format
A pointer to a string designating the format for a printf statement.
message
A pointer to a string containing a message specified by you. This variable can be set to NULL.

Example

This function calls exit() after printing the message.

Errors

None.