support null buffer argument to getcwd, auto-allocating behavior
[musl] / include / malloc.h