Possible problem with malloc_free_space using ss-20021007?

Daniel Néri daniel.neri at sigicom.se
Thu Oct 31 15:12:18 UTC 2002

"Bob Wisdom" <bobwis=2FQen6wEnzTQXOPxS62xeg at public.gmane.org> writes:

> Further to my last post on stack check reporting possibly going wrong I have
> another one to add:-
> printf("malloc free space = %xl\n",(unsigned long)malloc_free_space());
> seems to give unreal numbers..

Note that the correct format string is actually "%lx". But I suppose
sizeof(int) == sizeof(long) == sizeof(size_t) here, so it should not


More information about the users mailing list