Article View: comp.lang.fortran
Article #6476Question on unformatted i/o
From: Eric Jackson
Date: Sat, 10 Mar 1990 11:11
Date: Sat, 10 Mar 1990 11:11
12 lines
992 bytes
992 bytes
When an unformatted write is done (at least on Suns, Titans and Silicon Graphics machines) two control words are written at the beginning and end of the write with the number of bytes written (words on the Titan). This is useful only if the binary file is to be read by another fortran program; to use the file in, say, a C program, the extra words must be removed. Does anyone know of a way to suppress the writing of these control words? Please reply via email. Eric Jackson ej@acm.princeton.edu
Technical Details
Message-ID:
<14409@phoenix.Princeton.EDU>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!wuarchive!udel!princeton!phoenix!gauss!ejShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!wuarchive!udel!princeton!phoenix!gauss!ej From: ej@gauss.Princeton.EDU (Eric Jackson) Newsgroups: comp.lang.fortran Subject: Question on unformatted i/o Message-ID: <14409@phoenix.Princeton.EDU> Date: 10 Mar 90 11:11:32 GMT Sender: news@phoenix.Princeton.EDU Reply-To: ej@acm.Princeton.EDU (Eric Jackson) Distribution: comp.lang.fortran Organization: Princeton University Lines: 12