MLStopHandlingSignal (C Function)

MLStopHandlingSignal has been replaced by WSStopHandlingSignal.

void MLStopHandlingSignal(MLENV env , int s )

Stops the MathLink library from handling the Unix signal s in the library signal-handling mechanism.

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 mathlink.h.

Examples

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;
}