Date: Wed, 19 Feb 2003 17:33:13 -0500 From: Craig Rodrigues <rodrigc@attbi.com> To: freebsd-standards@freebsd.org Cc: kan@freebsd.org Subject: WCHAR_MIN and WCHAR_MAX not defined in <wchar.h> Message-ID: <20030219223313.GA93707@attbi.com>
next in thread | raw e-mail | index | archive | help
Hi, On my -CURRENT system, WCHAR_MIN and WCHAR_MAX are not defined in <wchar.h>. What should they be defined to? On my Linux system, I see that they are defined as: #define __WCHAR_MIN (-2147483647l - 1l) #define __WCHAR_MAX (2147483647l) 2147483647 is equal to 0x7FFFFFFF. In another library, I have seen them defined as: # define WCHAR_MIN ((wchar_t) 0) # define WCHAR_MAX (~WCHAR_MIN) What are the correct values for FreeBSD? Thanks. -- Craig Rodrigues http://home.attbi.com/~rodrigc rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030219223313.GA93707>