glibc/sysdeps/unix
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
..
alpha alpha: force old OSF1 syscalls for getegid, geteuid and getppid [BZ #24986] 2019-09-14 18:22:52 +02:00
arm Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
bsd Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
i386 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
inet Remove obsolete, never-implemented XSI STREAMS declarations 2019-03-14 15:44:15 +01:00
mips Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
powerpc Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sh Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sysv/linux time: Introduce function to check correctness of nanoseconds value 2019-10-27 21:49:25 +01:00
x86_64 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
clock_gettime.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
clock_nanosleep.c time: Introduce function to check correctness of nanoseconds value 2019-10-27 21:49:25 +01:00
clock_settime.c time: Introduce function to check correctness of nanoseconds value 2019-10-27 21:49:25 +01:00
confstr.h
get_child_max.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
getlogin_r.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
getlogin.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
getpagesize.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
grantpt.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ifreq.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Implies
make-syscalls.sh Remove PREPARE_VERSION and PREPARE_VERSION_KNOW 2019-09-17 17:09:01 -03:00
Makefile Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
pt-fcntl.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
s-proto-cancel.S
s-proto.S
setxid.h
sockatmark.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
stime.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
syscall-template.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
syscall.S Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
syscalls.list posix: Consolidate Linux fsync syscall 2017-05-18 18:06:47 -03:00
sysdep.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00