From: chriss@dmssyd.syd.dms.CSIRO.AU (Chris Skelsey)
Subject: Byte swapping between DECs & Suns
Date: 2 Mar 92 02:03:00 GMT [thread overview]
Message-ID: <1992Mar2.020300.26694@syd.dms.CSIRO.AU> (raw)
Hello,
we have a network of Suns & DECs. Occasionally, we require to pass
integer/floating point data between these two machines & we are trying
to locate a public domain utility/function to swap bytes for various data
types (since the byte ordering of Suns & DECs is different).
The tool `swab' swaps 2 byte integers but we require a 4 byte integer
swapping routine. We are also trying to locate a similar routine
to swap floats (IEEE 754-1985 standard).
Does anyone know of such a routine? Has anyone written one (C, Unix 4.1.1)?
Thanks for your time,
Chris.
______Chris Skelsey__________CSIRO Division of Mathematics & Statistics_______
| |
| PO Box 218, Lindfield, NSW 2070, Australia. |
| Phone : +61 2 413 7591 Fax : +61 2 416 9317 |
| Telex : AA26296 Email : chriss@syd.dms.csiro.au |
-------------------------------------------------------------------------------
--
akjdhajkshdjkasdhjkashd
D
next reply other threads:[~1992-03-02 2:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-03-02 2:03 Chris Skelsey [this message]
1992-03-02 2:25 ` Byte swapping between DECs & Suns Marcus J. OpenRanum
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