mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
09c656ca68
Obtained from: netlib.att.com
20 lines
327 B
C
20 lines
327 B
C
#include "f2c.h"
|
|
|
|
#ifdef KR_headers
|
|
typedef int (*sig_type)();
|
|
extern sig_type signal();
|
|
|
|
ftnint signal_(sigp, proc) integer *sigp; sig_type proc;
|
|
#else
|
|
#include "signal.h"
|
|
typedef void (*sig_type)(int);
|
|
|
|
ftnint signal_(integer *sigp, sig_type proc)
|
|
#endif
|
|
{
|
|
int sig;
|
|
sig = (int)*sigp;
|
|
|
|
return (ftnint)signal(sig, proc);
|
|
}
|