diff options
author | Omar Polo <op@omarpolo.com> | 2021-04-25 12:50:19 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-04-25 12:50:19 +0000 |
commit | 578f13e4b25879c7763944d4f555ed063a9d8e80 (patch) | |
tree | 181257cdd0468b05f3359137d46b8cbddbb9f41b /have | |
parent | b5fdc32e758f57a11fcb78a7571649044b681b1b (diff) |
add compat for reallocarray
Diffstat (limited to 'have')
-rw-r--r-- | have/reallocarray.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/have/reallocarray.c b/have/reallocarray.c new file mode 100644 index 0000000..f99e685 --- /dev/null +++ b/have/reallocarray.c @@ -0,0 +1,7 @@ +#include <stdlib.h> + +int +main(void) +{ + return !reallocarray(NULL, 2, 2); +} |