]> git.ipfire.org Git - thirdparty/util-linux.git/blame - include/monotonic.h
Merge branch 'lscpu-output-fix' of https://github.com/kerolasa/util-linux
[thirdparty/util-linux.git] / include / monotonic.h
CommitLineData
26e8964b
KZ
1#ifndef UTIL_LINUX_MONOTONIC_H
2#define UTIL_LINUX_MONOTONIC_H
5d7bdfd6 3
ee6e3930
SK
4# ifdef CLOCK_MONOTONIC_RAW
5# define UL_CLOCK_MONOTONIC CLOCK_MONOTONIC_RAW
6# else
7# define UL_CLOCK_MONOTONIC CLOCK_MONOTONIC
8# endif
9
b9dedd3d
KZ
10#include <sys/time.h>
11
5d7bdfd6
KZ
12extern int get_boot_time(struct timeval *boot_time);
13
cd2876d2
KZ
14extern int gettime_monotonic(struct timeval *tv);
15
26e8964b 16#endif /* UTIL_LINUX_MONOTONIC_H */