[LUG.ro] Manejo de se~nales

federico luna lugro@lugro.org.ar
Thu, 14 Dec 2006 23:12:35 +0000


On 12/14/06, Mauricio Notti <mauricio.notti@gmail.com> wrote:
> Buenas!
>
> Tengo una duda sobre la especificaci'on de signal. En el man 2 signal, dice:
>
> PORTABILITY
>        The original Unix signal() would reset the handler to SIG_DFL,
> and System V (and  the  Linux kernel  and  libc4,5) does the same.  On
> the other hand, BSD does not reset the handler, but blocks new
> instances of this signal from occurring during a call of the handler.
> The glibc2 library follows the BSD behaviour.
>
> Seg'un tengo entendido y apartir de un par de pruebas, verifico (a
> menos que la est'e pifiando en algo) que Linux adopta el
> comportamiento de BSD, no el de System V, por lo que el man estar'ia
> incorrecto, o posiblemente desactualizado (el que tengo en mi Slack
> aparenta ser del 2000-04-28, Linux 2.2 ).
>
> Alguien podr'ia aclararme un poco el panorama?

Si yo,
El man esta correcto.

Linux 2.2 usa glib2. En linux la podes encotrar como libc version 6.


saludos
-f