standards/62858: malloc(0) not C99 compliant

Poul-Henning Kamp phk at
Sun Feb 29 02:48:50 PST 2004

Synopsis: malloc(0) not C99 compliant

State-Changed-From-To: open->suspended
State-Changed-By: phk
State-Changed-When: Sun Feb 29 02:46:49 PST 2004
This is a deliberate choice.  Handling zero-size pointers correctly
in malloc(3) would be a rather involved and is currently not high
on the todolist.  A good patch might change that.

More information about the freebsd-standards mailing list