glibc/sysdeps/pthread
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
..
bits Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
aio_cancel.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
aio_error.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
aio_fsync.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
aio_misc.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
aio_misc.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
aio_notify.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
aio_read64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
aio_read.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
aio_suspend.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
aio_write64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
aio_write.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
allocalim.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
flockfile.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ftrylockfile.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
funlockfile.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
lio_listio64.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
lio_listio.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Makeconfig
Makefile Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
posix-timer.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
semaphore.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
timer_create.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
timer_delete.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
timer_getoverr.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
timer_gettime.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
timer_routines.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
timer_settime.c time: Introduce function to check correctness of nanoseconds value 2019-10-27 21:49:25 +01:00
tst-timer.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Versions