Subject: Re: SIZE_T_MAX Problem
To: None <current-users@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: current-users
Date: 08/18/2003 04:41:27
On Mon, Aug 18, 2003 at 10:36:43 +1000, Simon Burge wrote:

> SUSv3 doesn't mention SIZE_T_MAX.  It does mention SIZE_MAX (which
> should be in <stdint.h>) which we do support in 1.6 but not 1.5.
> 
> I'd suggest that we use SIZE_MAX in our sources, and let the compat goop
> define that in terms of SIZE_T_MAX if SIZE_MAX doesn't exist.  Sound
> good?

SIZE_MAX is also standard C.  C99 defines SIZE_MAX, "limit of size_t",
in 7.18.3 "Limits of other integer types".

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen