int *restrict resptr = (int *)malloc(sizeof(int)*10);

https://stackoverflow.com/questions/745870/realistic-usage-of-the-c99-restrict-keyword/745877#745877