#include <signal.h>
#ifndef REGTEST
-
#include <stdlib.h>
+#include <errno.h>
void (*_PDCLIB_sigabrt)( int ) = SIG_DFL;
void (*_PDCLIB_sigfpe)( int ) = SIG_DFL;
_PDCLIB_sigterm = func;
break;
default:
- /* The standard calls for an unspecified "positive value". You
- will probably want to define a specific value for this.
- */
- _PDCLIB_errno = 1;
+ errno = EINVAL;
return SIG_ERR;
}
return oldhandler;