Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Byte swapping between DECs & Suns
@ 1992-03-02  2:03 Chris Skelsey
  1992-03-02  2:25 ` Marcus J. OpenRanum
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Skelsey @ 1992-03-02  2:03 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1992-03-02  2:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-03-02  2:03 Byte swapping between DECs & Suns Chris Skelsey
1992-03-02  2:25 ` Marcus J. OpenRanum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox