From owner-freebsd-standards Wed Feb 19 14:32:24 2003 Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1477437B401; Wed, 19 Feb 2003 14:32:23 -0800 (PST) Received: from h00609772adf0.ne.client2.attbi.com (h00609772adf0.ne.client2.attbi.com [24.61.43.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF4FA43F93; Wed, 19 Feb 2003 14:32:21 -0800 (PST) (envelope-from rodrigc@attbi.com) Received: from h00609772adf0.ne.client2.attbi.com (localhost [127.0.0.1]) by h00609772adf0.ne.client2.attbi.com (8.12.6/8.12.6) with ESMTP id h1JMXEhE096486; Wed, 19 Feb 2003 17:33:14 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost) by h00609772adf0.ne.client2.attbi.com (8.12.6/8.12.6/Submit) id h1JMXDuj096476; Wed, 19 Feb 2003 17:33:13 -0500 (EST) Date: Wed, 19 Feb 2003 17:33:13 -0500 From: Craig Rodrigues To: freebsd-standards@freebsd.org Cc: kan@freebsd.org Subject: WCHAR_MIN and WCHAR_MAX not defined in Message-ID: <20030219223313.GA93707@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, On my -CURRENT system, WCHAR_MIN and WCHAR_MAX are not defined in . 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