linux下该怎么取消用setitimer设置的定时器 (c 定时器 linux)
setitimer设销迹没亏纳置it_interval和it_value为零。州猜
void uninit_time()
{
struct itimerval value;
value.it_value.tv_sec = 0;
value.it_value.tv_usec = 0;
value.it_interval = value.it_value;
setitimer(ITIMER_REAL, &value, NULL);
}