This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: struct sigaction / sa_handler
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: newlib at sourceware dot org
- Date: Tue, 19 Apr 2011 10:03:55 +0200
- Subject: Re: struct sigaction / sa_handler
- References: <BANLkTinBmHRJzF2G-4tYZT_B+Cmp6F61WA@mail.gmail.com>
- Reply-to: newlib at sourceware dot org
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