OpenersNotesSection(Spacer1)Details

MLStopHandlingSignal() does nothing on Microsoft Windows.

Use MLStopHandlingSignal() if the MathLink library signal-handling mechanism interferes with the application's use of signal s.

MLStopHandlingSignal() is declared in the MathLink header file (RefLink[mathlink.h, paclet:/ref/file/mathlink.h]).

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

#include <signal.h>
#include "mathlink.h"

int main()
{
	MLENV env;

	env = MLInitialize((MLEnvironmentParameter)0);
	if(env == (MLEnvironmentParameter)0)
	{ /* Unable to create MathLink environment object */ }

	MLStopHandlingSignal(env, SIGINT);

	/* ... */

	MLDeinitialize(env);

	return 0;
}

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(NonWLLink[MLSetSignalHandlerFromFunction(), paclet:/ref/c/MLSetSignalHandlerFromFunction])  ▪  (NonWLLink[MLUnsetSignalHandler(), paclet:/ref/c/MLUnsetSignalHandler])  ▪  (NonWLLink[MLSetSignalHandler(), paclet:/ref/c/MLSetSignalHandler])}})}})