Date: Mon, 04 Feb 2008 13:11:17 +0100 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-questions@freebsd.org Subject: Re: Endianness of freeBSD Message-ID: <fo6vpt$kag$1@ger.gmane.org> In-Reply-To: <1563a4fd0802040403x2b71eaa1yd3d8f78e7742843b@mail.gmail.com> References: <1563a4fd0802040403x2b71eaa1yd3d8f78e7742843b@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fo6vpt$kag$1>