timespec_get: New module.
commitcaf114a384a66c506ad1304197264cfac64f1fbc
authorBruno Haible <bruno@clisp.org>
Sat, 2 Jan 2021 12:14:08 +0000 (2 13:14 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 2 Jan 2021 12:14:08 +0000 (2 13:14 +0100)
tree5bfd5ada4d616facfc59cf428bfac4c24423f2ed
parent2d4f9d5c5a0c6dbdc2fbe34c42fe9cd74f162af3
timespec_get: New module.

* lib/time.in.h (timespec_get): New declaration.
* lib/timespec_get.c: New file.
* m4/timespec_get.m4: New file.
* m4/time_h.m4 (gl_HEADER_TIME_H_DEFAULTS): Initialize
GNULIB_TIMESPEC_GET, HAVE_TIMESPEC_GET.
* modules/time (Makefile.am): Substitute GNULIB_TIMESPEC_GET,
HAVE_TIMESPEC_GET.
* modules/timespec_get: New file.
* tests/test-time-c++.cc (timespec_get): Check signature.
* doc/glibc-functions/timespec_get.texi: Mention the new module.
ChangeLog
doc/glibc-functions/timespec_get.texi
lib/time.in.h
lib/timespec_get.c [new file with mode: 0644]
m4/time_h.m4
m4/timespec_get.m4 [new file with mode: 0644]
modules/time
modules/timespec_get [new file with mode: 0644]
tests/test-time-c++.cc