WSStopHandlingSignal (C Function)

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.


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;