diff options
author | Darshit Shah <darnir@gnu.org> | 2017-08-13 10:13:33 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-08-13 11:02:40 -0700 |
commit | 98756762a3337722477d2cddc9c0549609efe848 (patch) | |
tree | 4f2c711b6df8dc8eb98f894d589246af4cf667b1 /MODULES.html.sh | |
parent | 0474f8e6a85621c276dfc47099b9863a47f96a0d (diff) | |
download | gnulib-98756762a3337722477d2cddc9c0549609efe848.tar.gz |
reallocarray: New module
reallocarray is a new function in glibc 2.26 to safely allocate an array
of memory locations with integer overflow protection.
* MODULES.html.sh: Add reallocarray.
* doc/glibc-functions/reallocarray.texi: Documentation for reallocarray.
* lib/reallocarray.c: New file to implement module reallocarray.
* lib/stdlib.in.h: Add function declarations for reallocarray.
* m4/reallocarray.m4: New file.
* m4/stdlib_h.m4: Declare reallocarray.
* modules/reallocarray: New file.
* modules/reallocarray-test: New file.
* modules/stdlib: Coerce stdlib.h to export reallocarray.
* tests/test-reallocarray.c: New test.
Diffstat (limited to 'MODULES.html.sh')
-rwxr-xr-x | MODULES.html.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MODULES.html.sh b/MODULES.html.sh index a64b9997e0..1a258b632e 100755 --- a/MODULES.html.sh +++ b/MODULES.html.sh @@ -1703,6 +1703,7 @@ func_all_modules () func_module free func_module malloc-gnu func_module realloc-gnu + func_module reallocarray func_module pagealign_alloc func_end_table |