From: nullepart <driveblind@voila.fr>
Subject: is gethostsex standard?
Date: Thu, 04 Oct 2001 14:26:52 +0200 [thread overview]
Message-ID: <3BBC558C.D58DB75C@voila.fr> (raw)
Hi,
I'm trying to write some code which handles big-endian and little-endian
byte ordering. I've tried to check which one it is by checking the
definition of BIG_ENDIAN and LITTLE_ENDIAN, but i've found that they are
both defined.
I thought about using gethostsex, but I'm getting the impression that
this is tru64-unix-specific. That doesn't seem right to me because the
whole reason for checking is so i can write cross-platform code.
Any help would be appreciated.
thanks
next reply other threads:[~2001-10-04 12:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-04 12:26 nullepart [this message]
2001-10-04 14:10 ` is gethostsex standard? Bob Harris
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox