Hash :
4c2435dc
Author :
Date :
2024-05-24T19:23:25
boot-time, readutmp: Add a Native Windows boot time fallback. * lib/boot-time-aux.h (initialize, get_windows_boot_time_fallback): New functions. * lib/boot-time.c [_WIN32 && !__CYGWIN__]: Include Windows headers and <sys/time.h>. (get_boot_time_uncached): Use the fallback. * lib/readutmp.c [_WIN32 && !__CYGWIN__]: Include Windows headers and <sys/time.h>. (read_utmp_from_file): Use the fallback. * modules/boot-time (Depends-on): Add gettimeofday.
Description:
Determine the time when the machine last booted.
Files:
lib/boot-time.h
lib/boot-time.c
lib/boot-time-aux.h
lib/readutmp.h
m4/readutmp.m4
Depends-on:
extensions
idx
stat-time
gettimeofday
stdbool
time-h
unlocked-io-internal
configure.ac:
gl_PREREQ_READUTMP_H
Makefile.am:
lib_SOURCES += boot-time.c
Include:
"boot-time.h"
Link:
License:
GPL
Maintainer:
all