summaryrefslogblamecommitdiffstats
path: root/libblkid/include/monotonic.h
blob: f3b03d3d00401f744014d60dcbc6da9e50a5ef99 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                        
#ifndef UTIL_LINUX_BOOTTIME_H
#define UTIL_LINUX_BOOTTIME_H

/*
 * Uses clock_gettime() that requires $CLOCKGETTIME_LIBS
 */
extern int get_boot_time(struct timeval *boot_time);

extern int gettime_monotonic(struct timeval *tv);

#endif /* UTIL_LINUX_BOOTTIME_H */