From owner-freebsd-questions@FreeBSD.ORG Mon Feb 4 12:03:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4524D16A468 for ; Mon, 4 Feb 2008 12:03:26 +0000 (UTC) (envelope-from navneet.upadhyay@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.226]) by mx1.freebsd.org (Postfix) with ESMTP id F0F0313C4DB for ; Mon, 4 Feb 2008 12:03:25 +0000 (UTC) (envelope-from navneet.upadhyay@gmail.com) Received: by wr-out-0506.google.com with SMTP id 68so1370032wri.3 for ; Mon, 04 Feb 2008 04:03:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=x9tddckPqeobylgvb8NSgMPIU/2ySfN6gBTPPPwhTGc=; b=eScy3KUskoQxKEqOfOYKdgls4GvDLzFMJv9PnYr+Eilp6UIIESF1V5PWIbFJ7hqoZFFTPrFMb70GCh/n1a4SlUR6tmfQlE6QFdAvdoGHUNMjjYk0XATIjQKpiqxWBMwyzEes6++5amiDgJFUGE1TMf8hRQ7EUZGLVHjuNG9ErJg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=ooBZLd7/q8R8NfVqRNEZNADRoG3nydxFfO/UAvPBe8d9+wHdkUT2jcK4CkSKAcyqlAZZvhuhdutMAik/uatb9CS+sUZ8kUTKwfWpXFXEpUg4Eql3q+Sa/uHMSRFcda2R/RfRlA/VOeSovHTBctNoKHwZR5c+ljULw1az6fFUPxo= Received: by 10.150.198.14 with SMTP id v14mr2921751ybf.134.1202126605220; Mon, 04 Feb 2008 04:03:25 -0800 (PST) Received: by 10.150.185.7 with HTTP; Mon, 4 Feb 2008 04:03:25 -0800 (PST) Message-ID: <1563a4fd0802040403x2b71eaa1yd3d8f78e7742843b@mail.gmail.com> Date: Mon, 4 Feb 2008 17:33:25 +0530 From: "navneet Upadhyay" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Endianness of freeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2008 12:03:26 -0000 1. Is FreeBSD little Endian like windows? 2. Linux is Big endian? wrote a code int i = 1; if((i >> 1) == 0) little else big got little on all platforms bsd,linux,windows. *Does endianness depends on OS or the hardware?* ** ** *Thanks,* *navneet*