native_sdk_malloc.c (122B)
1 #include <stdlib.h> 2 3 int main(void) { 4 void* memory = malloc(64); 5 if (!memory) return 1; 6 free(memory); 7 return 0; 8 }