libc/newlib/libc/include/sys
pfg 271e856a49 Define a new __alloc_size2 attribute to complement the exiting support.
At least on GCC7 calling __alloc_size(x) twice is not equivalent to
calling using the attribute once with two arguments. The later is the
documented use in GCC documentation so add a new alloc_size(n, x)
alternative to cover for the few places where it is used: basically:
calloc(3), reallocarray(3) and  mallocarray(9).

Submitted by:	Mark Millard
MFC after:	3 days
Reference:
http://docs.freebsd.org/cgi/mid.cgi?F227842D-6BE2-4680-82E7-07906AF61CD7
2018-07-30 10:47:57 +02:00
..
_default_fcntl.h ansification: remove _PARAMS 2018-01-17 11:47:13 -06:00
_intsup.h Provide __intmax_t and __uintmax_t 2016-10-25 16:24:05 +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 Add BSD guard for time_t 2016-04-15 14:51:39 +02:00
_timeval.h Add BSD guard for time_t 2016-04-15 14:51:39 +02:00
_types.h Make _CLOCKID_T_ system configurable 2018-03-06 11:40:16 +01:00
cdefs.h Define a new __alloc_size2 attribute to complement the exiting support. 2018-07-30 10:47:57 +02:00
config.h Change time_t to 64-bit by default 2017-09-07 15:39:34 +02:00
custom_file.h 2007-02-01 Joel Schopp <jschopp@austin.ibm.com> 2007-02-01 16:33:05 +00:00
dir.h * libc/include/sys/dir.h: New BSD-compatibility header. 2010-08-11 18:14:54 +00:00
dirent.h 2005-10-04 James E Wilson <wilson@specifix.com> 2005-10-04 20:47:39 +00:00
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
file.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
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 Renumber copyright clause 4 2017-04-04 12:16:05 +02:00
reent.h Add global stdio streams support for reent small. 2018-03-01 18:05:31 -05: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 ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
stat.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
stdio.h ansification: remove _CAST_VOID 2018-01-17 11:47:17 -06:00
string.h 2005-01-24 Jeff Johnston <jjohnstn@redhat.com> 2005-01-24 18:46:09 +00:00
syslimits.h * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +00:00
time.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06: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 Import <sys/tree.h> from FreeBSD 2015-04-23 21:57:06 +02:00
types.h Move pthread types to <sys/_pthreadtypes.h> 2016-11-17 11:33:15 +01:00
unistd.h ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
utime.h import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
wait.h Fix comment in sys/wait.h 2015-05-28 16:40:43 +02:00