glibc/sysdeps/htl
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
flockfile.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fork.h 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
Implies hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00
libc-lockP.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Makeconfig hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00
Makefile hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00
old_pt-atfork.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-atfork.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-attr-destroy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-attr-getdetachstate.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-attr-getguardsize.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-attr-getinheritsched.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-attr-getschedparam.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-attr-getschedpolicy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-attr-getscope.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-attr-getstack.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-attr-getstackaddr.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-attr-getstacksize.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-attr-init.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-attr-setdetachstate.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-attr-setguardsize.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-attr-setinheritsched.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-attr-setschedparam.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-attr-setschedpolicy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-attr-setscope.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-attr-setstack.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-attr-setstackaddr.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-attr-setstacksize.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-attr.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-barrier-destroy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-barrier-init.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-barrier-wait.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-barrier.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-barrierattr-destroy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-barrierattr-getpshared.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-barrierattr-init.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-barrierattr-setpshared.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-cond-brdcast.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-cond-destroy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-cond-init.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-cond-signal.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-cond-timedwait.c time: Introduce function to check correctness of nanoseconds value 2019-10-27 21:49:25 +01:00
pt-cond-wait.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-cond.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-condattr-destroy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-condattr-getclock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-condattr-getpshared.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-condattr-init.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-condattr-setclock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-condattr-setpshared.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-destroy-specific.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-equal.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-getconcurrency.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-getcpuclockid.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-getschedparam.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-getspecific.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-init-specific.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-key-create.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-key-delete.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-key.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-kill.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-mutex-destroy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-mutex-getprioceiling.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-mutex-init.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-mutex-lock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-mutex-setprioceiling.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-mutex-timedlock.c time: Introduce function to check correctness of nanoseconds value 2019-10-27 21:49:25 +01:00
pt-mutex-transfer-np.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-mutex-trylock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-mutex-unlock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-mutexattr-destroy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-mutexattr-getprioceiling.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-mutexattr-getprotocol.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-mutexattr-getpshared.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-mutexattr-gettype.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-mutexattr-init.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-mutexattr-setprioceiling.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-mutexattr-setprotocol.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-mutexattr-setpshared.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-mutexattr-settype.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-mutexattr.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-once.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-rwlock-attr.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-rwlock-destroy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-rwlock-init.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-rwlock-rdlock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-rwlock-timedrdlock.c time: Introduce function to check correctness of nanoseconds value 2019-10-27 21:49:25 +01:00
pt-rwlock-timedwrlock.c time: Introduce function to check correctness of nanoseconds value 2019-10-27 21:49:25 +01:00
pt-rwlock-tryrdlock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-rwlock-trywrlock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-rwlock-unlock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-rwlock-wrlock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-rwlockattr-destroy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-rwlockattr-getpshared.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-rwlockattr-init.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-rwlockattr-setpshared.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-setconcurrency.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-setschedparam.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-setschedprio.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-setspecific.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-spin.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-startup.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pthread-functions.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pthread.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pthreadP.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
raise.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sem-close.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sem-destroy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sem-getvalue.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sem-init.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sem-open.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sem-post.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sem-timedwait.c time: Introduce function to check correctness of nanoseconds value 2019-10-27 21:49:25 +01:00
sem-trywait.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sem-unlink.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sem-wait.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
shm-directory.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Subdirs hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00
threads.h Fix C11 conformance issues 2018-07-25 12:02:32 -03:00
timer_routines.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Versions hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00