u_int32_t vs uint32_t

Alan Coopersmith Alan.Coopersmith at Sun.COM
Mon Aug 23 09:51:32 PDT 2004


Stuart Kreitman wrote:
> 
> 
> Matthieu Herrb wrote:
> 
>>
>> the u_ variants are the traditional types used on BSD systems and 
>> defined by including <sys/types.h>.
>>
>> There is some (limited) previous art of using the u_ types in the X 
>> tree, that's why it looked right to me. 
> 
> 
> 
> Hmnn, that couldn't be the case anymore, because if I change it in 
> Wraphelp.c, the build completes.
> 
> I have posted this question internally to see if we have a language 
> lawyer who can explain whether there's some
> standards body intent to push one form or another. Its not my bag.

uint32_t is the form specified by the ISO/ANSI C99 standard, the
current version of the Single Unix Specification (the combined
replacement for the POSIX & XPG series of specs, and LSB 1.3.


-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering



More information about the release-wranglers mailing list