struct sigaction / sa_handler

Corinna Vinschen vinschen@redhat.com
Tue Apr 19 08:48:00 GMT 2011


On Apr 18 07:52, Ricardo Martins wrote:
> The type of the member sa_handler of the structure sigaction is
> defined as a _sig_func_ptr:
> 
> typedef void (*_sig_func_ptr)();
> 
> but shouldn't it be:
> 
> typedef void (*_sig_func_ptr)(int);

Right.  The preceding comment explains why the int is missing, but this
information is outdated and no longer applies.  I fixed that in CVS.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat



More information about the Newlib mailing list