Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
e4m2
· 1y ago · 0 comments
According to the standard `realloc(NULL, size)` should already behave like `malloc(size)`. You shouldn't need that special case unless you're working on a system with a very buggy/non-compliant libc.
Comments
No comments yet.
Better HN