Y
Hacker News
new
|
ask
|
show
|
jobs
by
yarrel
4100 days ago
Is reallocarray() BSD-specific? That might explain it.
1 comments
wongarsu
4100 days ago
It's OpenBSD specific. But it's also just 10 lines of portable C that are permissively licensed and can be added to any project without problems. It's even in a separate source file for this very purpose [1]
[1]
https://github.com/robertbachmann/openbsd-libc/blob/master/s...
link
angersock
4100 days ago
I like that. I might even swipe it for my own projects.
link
[1] https://github.com/robertbachmann/openbsd-libc/blob/master/s...