util-linux/include/boottime.h

10 lines
200 B
C

#ifndef UTIL_LINUX_BOOTTIME_H
#define UTIL_LINUX_BOOTTIME_H
/*
* Uses clock_gettime() that requires -lrt
*/
extern int get_boot_time(struct timeval *boot_time);
#endif /* UTIL_LINUX_BOOTTIME_H */