[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-gcc
Subject:    Re: Pb with signal and read
From:       amu () MIT ! EDU (Aaron M !  Ucko)
Date:       2000-08-02 23:24:39
[Download RAW message or body]

Christophe Leroy <christophe.leroy@c-s.fr> 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 <amu@mit.edu> (finger amu@monk.mit.edu)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic