tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

unhide reallocarray



hi!

Some years ago, NetBSD got reallocarray. But it is hidden in an ifdef.

(from stdlib.h)

#ifdef _OPENBSD_SOURCE
...
void    *reallocarray(void *, size_t, size_t);
#endif

reallocarray() will now be part of the next POSIX release:

https://austingroupbugs.net/view.php?id=1218

So I'd like to put it outside of the _OPENBSD_SOURCE #ifdef so it is
available without _OPENBSD_SOURCE being defined.

Comments?

Cheers,
 Thomas


Home | Main Index | Thread Index | Old Index