Comparing a time_t to a struct timespec (in C)

后端 未结 0 1188
孤独总比滥情好
孤独总比滥情好 2021-02-04 07:55

I have multiple struct timespec values and a time_t value. I want to see which struct timespec value is the closest to the time_t value. Should I just compare the seconds and

相关标签:
回答
  • 消灭零回复
提交回复
热议问题