Skip to content

Instantly share code, notes, and snippets.

Avatar

Thomas Stuefe tstuefe

View GitHub Profile
View test-malloc-trim
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
static void presskey() {
printf("press key\n");
getchar();
}
static void touch_memory(void* p, size_t size) {