Endianness of freeBSD

navneet Upadhyay navneet.upadhyay at gmail.com
Mon Feb 4 12:03:26 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?*
**
**
*Thanks,*
*navneet*


More information about the freebsd-questions mailing list