]> git.ipfire.org Git - thirdparty/util-linux.git/blob - include/monotonic.h
include: add some missing licence stuff to header files
[thirdparty/util-linux.git] / include / monotonic.h
1 /*
2 * No copyright is claimed. This code is in the public domain; do with
3 * it what you wish.
4 */
5 #ifndef UTIL_LINUX_MONOTONIC_H
6 #define UTIL_LINUX_MONOTONIC_H
7
8 # ifdef CLOCK_MONOTONIC_RAW
9 # define UL_CLOCK_MONOTONIC CLOCK_MONOTONIC_RAW
10 # else
11 # define UL_CLOCK_MONOTONIC CLOCK_MONOTONIC
12 # endif
13
14 #include <sys/time.h>
15
16 extern int get_boot_time(struct timeval *boot_time);
17
18 extern int gettime_monotonic(struct timeval *tv);
19
20 #endif /* UTIL_LINUX_MONOTONIC_H */