Pure variants of C's memory allocation functions malloc, calloc, and realloc and deallocation function free.
Purity is achieved by saving and restoring the value of errno, thus having as if it were never changed.
D's rules for purity, which allow for memory allocation under specific circumstances.
See Implementation
Pure variants of C's memory allocation functions malloc, calloc, and realloc and deallocation function free.
Purity is achieved by saving and restoring the value of errno, thus having as if it were never changed.