1#include <stdlib.h> 2#include <cstdint> // for uint8_t 3 4uint8_t *mem; 5 6int main() { 7 mem = (uint8_t *) malloc(64 * 1024 + 1); 8 if (mem == NULL) { 9 return 1; 10 } else { 11 return 0; 12 } 13}
View as plain text