diff options
author | Mike Crowe <mac@mcrowe.com> | 2019-05-09 14:19:21 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-05-09 14:33:53 -0300 |
commit | 519839965197291924895a3988804e325035beee (patch) | |
tree | c99f523add5a2a2fe22d0c747bf497eb800941da /support/README | |
parent | 18aa51ee0d1a9c555d9fee93441cd075cd9b5975 (diff) | |
download | glibc-519839965197291924895a3988804e325035beee.tar.gz glibc-519839965197291924895a3988804e325035beee.tar.xz glibc-519839965197291924895a3988804e325035beee.zip |
support: Add timespec.h
It adds useful functions for tests that use struct timespec. Checked on x86_64-linux-gnu and i686-linux-gnu. * support/timespec.h: New file. Provide timespec helper functions along with macros in the style of those in check.h. * support/timespec.c: New file. Implement check functions declared in support/timespec.h. * support/timespec-add.c: New file from gnulib containing timespec_add implementation that handles overflow. * support/timespec-sub.c: New file from gnulib containing timespec_sub implementation that handles overflow. * support/README: Mention timespec.h. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'support/README')
-rw-r--r-- | support/README | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/support/README b/support/README index d82f472fc7..ae2c41caa8 100644 --- a/support/README +++ b/support/README @@ -28,3 +28,8 @@ header files provide related declarations: * check.h * temp_file.h * test-driver.h + +For tests that make use of struct timespec, the following header files +contain additional macros and helper functions: + +* timespec.h |