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 /wctype/wctype.c | |
parent | 18aa51ee0d1a9c555d9fee93441cd075cd9b5975 (diff) | |
download | glibc-519839965197291924895a3988804e325035beee.tar glibc-519839965197291924895a3988804e325035beee.tar.gz glibc-519839965197291924895a3988804e325035beee.tar.bz2 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 'wctype/wctype.c')
0 files changed, 0 insertions, 0 deletions