Comment

Comment by enedil

Manual says

> If size is 0, then malloc() returns either NULL, or a unique pointer value that can later be successfully passed to free().

So it's not really an array of bytes of size 0.

parent enedil 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton