freebsd-dev/lib/libF77/signal_.c

20 lines
313 B
C
Raw Normal View History

#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
1997-04-13 01:16:58 +00:00
ftnint signal_(sigp, proc) integer *sigp; sig_pf proc;
#else
1997-04-13 01:16:58 +00:00
#include "signal1.h"
1997-04-13 01:16:58 +00:00
ftnint signal_(integer *sigp, sig_pf proc)
#endif
{
int sig;
sig = (int)*sigp;
1997-04-13 01:16:58 +00:00
return (ftnint)signal(sig, proc);
}