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