1 /* You may need to adjust the definition of signal1 to supply a */
2 /* cast to the correct argument type. This detail is system- and */
3 /* compiler-dependent. The #define below assumes signal.h declares */
4 /* type SIG_PF for the signal function's second argument. */
23 #ifdef USE_SIG_PF /* compile with -DUSE_SIG_PF under IRIX */
26 typedef Sigret_t (*sig_pf)(Sigarg_t);
29 #define signal1(a,b) signal(a,(sig_pf)b)
36 #define Use_Sigarg n = n /* shut up compiler warning */