struct sigaction sa =
{
    .sa_handler = ctrl_c_handler // C99写法,C++不支持
};