Lukasz Majewski 4812365660 time: Introduce function to check correctness of nanoseconds value
The valid_nanoseconds () static inline function has been introduced to
check if nanoseconds value is in the correct range - greater or equal to
zero and less than 1000000000.

The explicit #include <time.h> has been added to files where it was
missing.

The __syscall_slong_t type for ns has been used to avoid issues on x32.

Tested with:
- scripts/build-many-glibcs.py
- make PARALLELMFLAGS="-j12" && make PARALLELMFLAGS="-j12" xcheck on x86_64
2019-10-27 21:49:25 +01:00
..
2016-10-28 22:40:16 -04:00
2018-03-25 00:48:01 +01:00
2017-04-07 07:45:53 -04:00
2017-11-22 22:21:10 +00:00
2018-12-07 12:47:41 -08:00
2019-05-02 11:42:51 +02:00
2019-10-09 17:48:41 -03:00
2018-12-07 20:21:45 +01:00
2019-02-27 10:00:37 -03:00