[geeks] Need expert opinion

Scott Howard scott at doc.net.au
Tue Oct 5 23:02:17 CDT 2004


On Tue, Oct 05, 2004 at 12:29:20PM -0400, Sandwich Maker wrote:
> the way i'd write it, i'd set the sighandler to drop further hups
> while processing a hup, then reset it to catch them when finished.

You can't (or at least, shouldn't).  signal() isn't Async-Signal-Safe,
so you can't call it from within a signal handler.

man signal(3)  and  man attributes(5)  for more details.

  Scott



More information about the geeks mailing list