www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/03/23/20:28:56

Date: 23 Mar 1993 20:21:26 -0500 (EST)
From: JMILLER AT CHESS DOT EISC DOT UTOLEDO DOT EDU
Subject: Thanks and a new question
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Organization: Edison Industrial Systems Center

Thanks to all who responded to my question about O_BINARY on the Sun which
is not defined since UNIX does not differentiate between text and binary
files. The problem that I was having was endian in nature which brings up
the question of how best to handle binary files that will be used on big 
and little endian systems. Byte swapping code can be written but what are
the options for handling this type of problem? I apologize if this is too
far afield from the stated mission here but hopefully portability issues
probably are not too far out of line.

Thanks in advance

John Miller

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019