OpenersNotesSection(Spacer1)Details

WSStopHandlingSignal() does nothing on Microsoft Windows.

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

WSStopHandlingSignal() is declared in the WSTP header file (RefLink[wstp.h, paclet:ref/file/wstp.h]).

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

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

int main()
{
	WSENV env;

	env = WSInitialize((WSEnvironmentParameter)0);
	if(env == (WSEnvironmentParameter)0)
	{ /* Unable to create WSTP environment object */ }

	WSStopHandlingSignal(env, SIGINT);

	/* ... */

	WSDeinitialize(env);

	return 0;
}

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(NonWLLink[WSSetSignalHandlerFromFunction(), paclet:ref/c/WSSetSignalHandlerFromFunction])  ▪  (NonWLLink[WSUnsetSignalHandler(), paclet:ref/c/WSUnsetSignalHandler])  ▪  (NonWLLink[WSSetSignalHandler(), paclet:ref/c/WSSetSignalHandler])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[WSTP C API Developer Guide (Mac OS X), paclet:tutorial/WSTPDeveloperGuide-MacintoshOverview])}, {▪(RefLinkPlain[WSTP C API Developer Guide (Unix and Linux), paclet:tutorial/WSTPDeveloperGuide-UnixOverview])}, {▪(RefLinkPlain[WSTP C API Developer Guide (Windows), paclet:tutorial/WSTPDeveloperGuide-WindowsOverview])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Alphabetical Listing of WSTP C Functions, paclet:guide/AlphabeticalListingOfWSTPCFunctions])}, {▪(RefLinkPlain[Low-Level WSTP Operations, paclet:guide/LowLevelWSTPOperations])}})}})