newlib-cygwin/newlib/libc/include/sys
Sebastian Huber aae831b083 Synchronize <sys/time.h> with FreeBSD
This change is based on the FreeBSD commit:

Author: asomers <asomers@FreeBSD.org>
Date:   Mon Jul 30 15:46:40 2018 +0000

    Make timespecadd(3) and friends public

    The timespecadd(3) family of macros were imported from NetBSD back in
    r35029. However, they were initially guarded by #ifdef _KERNEL. In the
    meantime, we have grown at least 28 syscalls that use timespecs in some
    way, leading many programs both inside and outside of the base system to
    redefine those macros. It's better just to make the definitions public.

    Our kernel currently defines two-argument versions of timespecadd and
    timespecsub.  NetBSD, OpenBSD, and FreeDesktop.org's libbsd, however, define
    three-argument versions.  Solaris also defines a three-argument version, but
    only in its kernel.  This revision changes our definition to match the
    common three-argument version.

    Bump _FreeBSD_version due to the breaking KPI change.

    Discussed with: cem, jilles, ian, bde
    Differential Revision:  https://reviews.freebsd.org/D14725
2019-11-04 07:03:15 +01:00
..
_default_fcntl.h fcntl.h: expose AT_EMPTY_PATH with _GNU_SOURCE only 2019-01-07 20:09:20 +01:00
_intsup.h Support calculation of pointer size for __int20__ type in _intsup.h 2019-06-25 13:37:16 -04:00
_locale.h Rename <xlocale.h> back to <sys/_locale.h> 2019-06-14 10:02:08 +02:00
_pthreadtypes.h Fix guard for siginfo_t and pthread_t definition 2017-06-19 13:00:05 +02:00
_sigset.h FreeBSD compatibility for <sys/select.h> 2015-12-14 15:39:44 +01:00
_stdint.h Provide __intmax_t and __uintmax_t 2016-10-25 16:24:05 +02:00
_timespec.h Synchronize <sys/_timespec.h> with FreeBSD 2019-11-04 07:03:15 +01:00
_timeval.h Add BSD guard for time_t 2016-04-15 14:51:39 +02:00
_types.h Fix <sys/_types.h> issues with <stddef.h> 2019-06-03 10:20:15 +02:00
cdefs.h FreeBSD compat. __alloc_size(), __alloc_align() 2018-07-30 10:47:57 +02:00
config.h AMD GCN Port contributed by Andrew Stubbs <ams@codesourcery.com> 2019-01-15 10:48:08 -05:00
custom_file.h
dir.h * libc/include/sys/dir.h: New BSD-compatibility header. 2010-08-11 18:14:54 +00:00
dirent.h
errno.h ansification: remove _PARAMS 2018-01-17 11:47:13 -06:00
fcntl.h 2007-11-15 Jeff Johnston <jjohnstn@redhat.com> 2007-12-19 18:49:17 +00:00
features.h Cygwin: define _POSIX_ASYNCHRONOUS_IO 2018-07-25 10:48:55 -05:00
fenv.h Add default implementation of fenv.h and all methods 2019-08-09 17:49:16 +02:00
file.h
iconvnls.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
lock.h ansification: remove _CAST_VOID 2018-01-17 11:47:17 -06:00
param.h Move fd_stuff from sys/types.h to sys/select.h 2015-12-07 16:28:22 +01:00
queue.h This commit brings in a new refactored TCP stack called Rack. 2018-08-24 15:00:04 +02:00
reent.h Allow verifying _REENT_CHECK macros memory allocation 2019-10-07 15:36:03 -04:00
resource.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
sched.h Add and use latest <sys/timespec.h> from FreeBSD 2015-03-11 15:45:38 +01:00
select.h newlib: drop Cygwin license from sys/select.h 2018-02-02 11:27:58 +01:00
signal.h Drop non-reserved parameter names from sys/signal.h 2018-08-29 17:46:27 +02:00
stat.h Revert previous change to sys/stat.h and fix cris libgloss 2019-08-19 18:01:45 -04:00
stdio.h ansification: remove _CAST_VOID 2018-01-17 11:47:17 -06:00
string.h
syslimits.h
time.h Synchronize <sys/time.h> with FreeBSD 2019-11-04 07:03:15 +01:00
timeb.h ansification: remove _PARAMS 2018-01-17 11:47:13 -06:00
times.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
timespec.h Add and use latest <sys/timespec.h> from FreeBSD 2015-03-11 15:45:38 +01:00
tree.h Mark inline functions with __unused; 2019-06-07 09:13:13 +02:00
types.h Fix <sys/_types.h> issues with <stddef.h> 2019-06-03 10:20:15 +02:00
unistd.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
utime.h
wait.h Fix comment in sys/wait.h 2015-05-28 16:40:43 +02:00