1994-10-26 18:17:41 +00:00
|
|
|
#include "f2c.h"
|
|
|
|
|
|
|
|
#ifdef KR_headers
|
1997-04-13 01:16:58 +00:00
|
|
|
typedef VOID (*sig_pf)();
|
|
|
|
extern sig_pf signal();
|
|
|
|
#define signal1 signal
|
1994-10-26 18:17:41 +00:00
|
|
|
|
1997-04-13 01:16:58 +00:00
|
|
|
ftnint signal_(sigp, proc) integer *sigp; sig_pf proc;
|
1994-10-26 18:17:41 +00:00
|
|
|
#else
|
1997-04-13 01:16:58 +00:00
|
|
|
#include "signal1.h"
|
1994-10-26 18:17:41 +00:00
|
|
|
|
1997-04-13 01:16:58 +00:00
|
|
|
ftnint signal_(integer *sigp, sig_pf proc)
|
1994-10-26 18:17:41 +00:00
|
|
|
#endif
|
|
|
|
{
|
|
|
|
int sig;
|
|
|
|
sig = (int)*sigp;
|
|
|
|
|
1997-04-13 01:16:58 +00:00
|
|
|
return (ftnint)signal(sig, proc);
|
1994-10-26 18:17:41 +00:00
|
|
|
}
|