df9489689d
These are error-checked versions of memory allocation routines used by NetBSD code, and are being added to facilitate updates to makefs. Reviewed by: ngie Differential Revision: https://reviews.freebsd.org/D10291
$FreeBSD$ libnetbsd is a thin compatibility layer intended to allow a limited set of NetBSD software to compile as part of the FreeBSD build with little or no modification. It is built as a static library and not installed for general use. Likewise, its header files are not installed.