This feature is not supported on the Wolfram Cloud.

void WSStopHandlingSignal(WSENV env, int s)
Stops the WSTP library from handling the Unix signal s in the library signal-handling mechanism.


  • 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 wstp.h.

ExamplesExamplesopen allclose all

Basic Examples  (1)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);

    /* ... */


    return 0;
Translate this page: