Christophe Leroy <[EMAIL PROTECTED]> writes:
> I'm using gcc on Linux RedHat 6.2
> It's said in man that signal() behaviour is SYSV one. But, when I
> compile my programs, signal() has got the BSD behaviour. Why ?
> How can I make it have SYSV behaviour ?
The manpage you're looking at is out of date; libc 5 gave you SYSV
semantics, but libc 6 (glibc 2) switched back to BSD semantics. At
any rate, if you want control over signal semantics you want to use
sigaction(2).
--
Aaron M. Ucko, KB1CJC <[EMAIL PROTECTED]> (finger [EMAIL PROTECTED])