sys/types.h int8_t signed or unsigned

Shaun Jackman sjackman@pathwayconnect.com
Wed Jul 2 19:02:00 GMT 2003


In newlib-1.11.0 int8_t is defined as 
	typedef char int8_t;

Out of curiosity, is char known to be signed? I thought it was ambiguous
(signed or unsigned depending on the platform). In which case this
should be
	typedef signed char int8_t;

Also, newlib doesn't provide stdint.h. Should it?

Thanks,
Shaun




More information about the Newlib mailing list