Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2008 13:32:44 +0100 (CET)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        navneet Upadhyay <navneet.upadhyay@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Endianness of freeBSD
Message-ID:  <20080204133235.C7781@wojtek.tensor.gdynia.pl>
In-Reply-To: <1563a4fd0802040403x2b71eaa1yd3d8f78e7742843b@mail.gmail.com>
References:  <1563a4fd0802040403x2b71eaa1yd3d8f78e7742843b@mail.gmail.com>

next in thread | previous 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?*

on hardware



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