|
|
|
|
|
by eacnamn
714 days ago
|
|
all malloc is defined to do is to return a pointer to storage of appropriate size and alignment, which can easily be done in pure standard C by defining a static array and chopping it up as needed.
that's not a brilliant way of doing that, but achievable without leaving standard C |
|