This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: struct sigaction / sa_handler


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]