Endianness of freeBSD

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Mon Feb 4 12:34:30 UTC 2008


> 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


More information about the freebsd-questions mailing list