have_traps
if ((!backgnd && flags & EV_EXIT && !have_traps()) ||
&& ((flags & EV_EXIT) == 0 || have_traps()))
int have_traps(void);