From: Paul Tomblin <ptomblin@xcski.com>
To: axp-list@redhat.com
Subject: Re: byte order, swapping code
Date: Tue, 16 Jun 1998 10:40:20 -0400 [thread overview]
Message-ID: <19980616104020.A10784@xcski.com> (raw)
In-Reply-To: <199806161354.JAA05199@alpha.nmrlab.hscsyr.edu>; from Mike on Tue, Jun 16, 1998 at 09:54:27AM -0400
Quoting Mike (mike@alpha.nmrlab.hscsyr.edu):
> between architectures (like we do here, our Sun and Alpha both access the
> same hard disk) you might want to do the conversion on the fly.
It's been a long, long, long time since I've done this, but I seem to recall
some functions that came with RPC and NFS that did this sort of thing - it
converted bytes too and from "Network Byte Order" (which just happened to be
the native format of MC68000 and SPARC chips, since it was a Sun protocol).
Since Linux has NFS and RPC, it probably has the libraries. I think it's
either called "xdev" or "rdev".
--
Paul Tomblin, ptomblin@xcski.com.
"The day Microsoft makes something that doesn't suck is probably the day they
start making vacuum cleaners" - Ernst Jan Plugge
prev parent reply other threads:[~1998-06-16 14:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-16 13:54 byte order, swapping code Mike
1998-06-16 14:40 ` Paul Tomblin [this message]
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