Linux信号与定时器应用实例 考虑到,两个信号到来以后都需要进行时间计算。void TimeSubstract(const struct timeval *tv1, const struct timeval *tv2, struct timeval *tvres); ice00 2011-03-23 04:44:47