lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, Oct 15, 2009 at 05:16:40AM +0100, David Given wrote:
> Yes, in the Unix world it's always 4 (wchar_t is an int).

True in general practice, but technically the Unix standard does not
require it to be the same size as int.

  http://www.opengroup.org/onlinepubs/009695399/basedefs/stddef.h.html

For example I think there were Unicos implementations where everything
except char was 64 bits, but I don't know if Cray still does it that
way.

                                                  -Dave Dodge