From owner-freebsd-questions@FreeBSD.ORG Mon Feb 4 12:18:23 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 B95F416A419 for ; Mon, 4 Feb 2008 12:18:23 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id D807813C502 for ; Mon, 4 Feb 2008 12:18:22 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JM0H9-0006ur-IH for freebsd-questions@freebsd.org; Mon, 04 Feb 2008 12:18:15 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Feb 2008 12:18:15 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Feb 2008 12:18:15 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Mon, 04 Feb 2008 13:11:17 +0100 Lines: 31 Message-ID: References: <1563a4fd0802040403x2b71eaa1yd3d8f78e7742843b@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig80134A92C41776256D2B751A" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.6 (X11/20071022) In-Reply-To: <1563a4fd0802040403x2b71eaa1yd3d8f78e7742843b@mail.gmail.com> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: 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:18:23 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig80134A92C41776256D2B751A navneet Upadhyay wrote: > 1. Is FreeBSD little Endian like windows? >=20 > 2. Linux is Big endian? >=20 > wrote a code int i =3D 1; if((i >> 1) =3D=3D 0) little else big > got little on all platforms bsd,linux,windows. >=20 > *Does endianness depends on OS or the hardware?* It depends on the hardware. http://en.wikipedia.org/wiki/Endianess --------------enig80134A92C41776256D2B751A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHpwLBldnAQVacBcgRAre7AJsG/3ejoE7H6q3m5NC9MPHe8lYqngCeLO0S lYzs2I4ywDIGhx2zQwrVuWE= =7bcz -----END PGP SIGNATURE----- --------------enig80134A92C41776256D2B751A--