Messages in this thread | | | Date | Thu, 27 Nov 2003 03:59:56 +0900 (JST) | Subject | Re: BUG (non-kernel), can hurt developers. | From | YOSHIFUJI Hideaki / 吉藤英明 <> |
| |
In article <Pine.LNX.4.58.0311261021400.1524@home.osdl.org> (at Wed, 26 Nov 2003 10:29:54 -0800 (PST)), Linus Torvalds <torvalds@osdl.org> says:
> You can't just randomly use library functions in signal handlers. You can > only use a very specific "signal-safe" set. > > POSIX lists that set in 3.3.1.3 (3f), and says > > "All POSIX.1 functions not in the preceding table and all > functions defined in the C standard {2} not stated to be callable > from a signal-catching function are considered to be /unsafe/ > with respect to signals. .." > > typos mine.
Just FYI: http://www.opengroup.org/onlinepubs/007904975/functions/xsh_chap02_04.html#tag_02_04_03
--yoshfuji - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |