mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:35:06 -05:00
util: add UTI_IsZeroTimespec()
This commit is contained in:
3
util.h
3
util.h
@@ -37,6 +37,9 @@
|
||||
/* Zero a timespec */
|
||||
extern void UTI_ZeroTimespec(struct timespec *ts);
|
||||
|
||||
/* Check if a timespec is zero */
|
||||
extern int UTI_IsZeroTimespec(struct timespec *ts);
|
||||
|
||||
/* Convert a timeval into a timespec */
|
||||
extern void UTI_TimevalToTimespec(struct timeval *tv, struct timespec *ts);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user