Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2008 17:33:25 +0530
From:      "navneet Upadhyay" <navneet.upadhyay@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Endianness of freeBSD
Message-ID:  <1563a4fd0802040403x2b71eaa1yd3d8f78e7742843b@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1563a4fd0802040403x2b71eaa1yd3d8f78e7742843b>