]> git.ipfire.org Git - thirdparty/util-linux.git/blob - include/monotonic.h
build-sys: move all around clock_gettime() to monotonic.c
[thirdparty/util-linux.git] / include / monotonic.h
1 #ifndef UTIL_LINUX_BOOTTIME_H
2 #define UTIL_LINUX_BOOTTIME_H
3
4 /*
5 * Uses clock_gettime() that requires $CLOCKGETTIME_LIBS
6 */
7 extern int get_boot_time(struct timeval *boot_time);
8
9 extern int gettime_monotonic(struct timeval *tv);
10
11 #endif /* UTIL_LINUX_BOOTTIME_H */