[klibc] [PATCH] fix fwrite declaration

H. Peter Anvin hpa at zytor.com
Tue Oct 19 12:13:50 PDT 2004


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



More information about the klibc mailing list