]>
git.ipfire.org Git - thirdparty/util-linux.git/blob - include/monotonic.h
2 * No copyright is claimed. This code is in the public domain; do with
5 #ifndef UTIL_LINUX_MONOTONIC_H
6 #define UTIL_LINUX_MONOTONIC_H
8 # ifdef CLOCK_MONOTONIC_RAW
9 # define UL_CLOCK_MONOTONIC CLOCK_MONOTONIC_RAW
11 # define UL_CLOCK_MONOTONIC CLOCK_MONOTONIC
16 #include "timeutils.h"
18 extern int get_boot_time(struct timeval
*boot_time
);
20 extern usec_t
get_suspended_time(void);
22 extern int gettime_monotonic(struct timeval
*tv
);
24 #endif /* UTIL_LINUX_MONOTONIC_H */