home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
f2c-93.04.28-src.tgz
/
tar.out
/
fsf
/
f2c
/
libF77
/
signal_.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-09-28
|
327b
|
20 lines
#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);
}