Hash :
074fcd0a
Author :
Date :
2024-12-27T23:41:36
Rename module sys_time to sys_time-h. * modules/sys_time-h: Renamed from modules/sys_time. * modules/sys_time-h-tests: Renamed from modules/sys_time-tests. * modules/sys_time-h-c++-tests: Renamed from modules/sys_time-c++-tests. * tests/test-sys_time-h.c: Renamed from tests/test-sys_time.c. * tests/test-sys_time-h-c++.cc: Renamed from tests/test-sys_time-c++.cc. * doc/posix-headers/sys_time.texi: Update. * modules/* (Depends-on): Update. * modules/sys_time: New file.
Description:
gettimeofday() function: return current time.
Files:
lib/gettimeofday.c
m4/gettimeofday.m4
Depends-on:
sys_time-h
configure.ac:
gl_FUNC_GETTIMEOFDAY
gl_CONDITIONAL([GL_COND_OBJ_GETTIMEOFDAY],
[test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1])
AM_COND_IF([GL_COND_OBJ_GETTIMEOFDAY], [
gl_PREREQ_GETTIMEOFDAY
])
gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
Makefile.am:
if GL_COND_OBJ_GETTIMEOFDAY
lib_SOURCES += gettimeofday.c
endif
Include:
<sys/time.h>
License:
LGPLv2+
Maintainer:
Paul Eggert, Jim Meyering