]>
git.ipfire.org Git - thirdparty/util-linux.git/blob - include/monotonic.h
1 #ifndef UTIL_LINUX_MONOTONIC_H
2 #define UTIL_LINUX_MONOTONIC_H
4 # ifdef CLOCK_MONOTONIC_RAW
5 # define UL_CLOCK_MONOTONIC CLOCK_MONOTONIC_RAW
7 # define UL_CLOCK_MONOTONIC CLOCK_MONOTONIC
12 extern int get_boot_time(struct timeval
*boot_time
);
14 extern int gettime_monotonic(struct timeval
*tv
);
16 #endif /* UTIL_LINUX_MONOTONIC_H */