Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261953AbVDCXOq (ORCPT ); Sun, 3 Apr 2005 19:14:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261955AbVDCXOq (ORCPT ); Sun, 3 Apr 2005 19:14:46 -0400 Received: from alpha.polcom.net ([217.79.151.115]:27872 "EHLO alpha.polcom.net") by vger.kernel.org with ESMTP id S261953AbVDCXOp (ORCPT ); Sun, 3 Apr 2005 19:14:45 -0400 Date: Mon, 4 Apr 2005 01:17:57 +0200 (CEST) From: Grzegorz Kulewski To: Dag Arne Osvik Cc: Andreas Schwab , Stephen Rothwell , linux-kernel@vger.kernel.org Subject: Re: Use of C99 int types In-Reply-To: <425072A4.7080804@osvik.no> Message-ID: References: <424FD9BB.7040100@osvik.no> <20050403220508.712e14ec.sfr@canb.auug.org.au> <424FE1D3.9010805@osvik.no> <425072A4.7080804@osvik.no> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 660 Lines: 27 On Mon, 4 Apr 2005, Dag Arne Osvik wrote: > (...) And, at least in > theory, long may even provide less than 32 bits. Are you sure? My copy of famous C book by B. W. Kernighan and D. Ritchie says that sizeof(short) <= sizeof(int) <= sizeof(long) and sizeof(short) >= 16, sizeof(int) >= 16, sizeof(long) >= 32. The book is about ANSI C not C99 but I think this is still valid. Am I wrong? Grzegorz Kulewski - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/