is it SIGPWR?) receive this treatment, of which only SIGILL is defined in ANSI
and ANSI happens to say: (If the value of sig is SIGILL, whether the reset to SIG_DFL occurs is implementation-defined.)
yeah it's SIGPWR on HP/UX
Yeah you are right. I forgot that the standard had listed down very few signals as recognized by them. SIGPWR was not one of them. But still the fact remains that signal was a badly designed interface and if you want your code to be portable on *NIX platforms with well defined behavior you would use sigaction instead
Обсуждают сегодня