struct sigaction / sa_handler

Ricardo Martins rasm@fe.up.pt
Mon Apr 18 13:11:00 GMT 2011


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);

Regards,
Ricardo Martins



More information about the Newlib mailing list