Olaf Hering wrote: > fwrite() takes a const void *p, but stdio declares just a void *p. > Is there a reason for the difference? > No, it's a bug in <stdio.h>. const void * is the correct type. -hpa