Bring in reallocarray() from OpenBSD

This commit is contained in:
sin
2016-01-06 17:02:28 +00:00
parent 87360fe252
commit 2809fd3795
6 changed files with 48 additions and 2 deletions

View File

@@ -19,6 +19,8 @@
#include <sys/types.h>
#include <string.h>
#include "compat.h"
/*
* Appends src to string dst of size dsize (unlike strncat, dsize is the
* full size of dst, not space left). At most dsize-1 characters