home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / fortran / 3554 < prev    next >
Encoding:
Text File  |  1992-09-14  |  1.2 KB  |  27 lines

  1. Newsgroups: comp.lang.fortran
  2. Path: sparky!uunet!sun-barr!ames!nsisrv!molod.gsfc.nasa.gov!molod
  3. From: molod@molod.gsfc.nasa.gov (Andrea Molod)
  4. Subject: stream i/o
  5. Message-ID: <1992Sep14.222744.14024@nsisrv.gsfc.nasa.gov>
  6. Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
  7. Nntp-Posting-Host: molod.gsfc.nasa.gov
  8. Organization: NASA
  9. Date: Mon, 14 Sep 1992 22:27:44 GMT
  10. Lines: 15
  11.  
  12. Am looking for a reasonably clean way to write 'stream' unformatted i/o
  13. from a fortran program on, lets say, a convex machine.
  14. (just to check that i am using the correct term, i mean that i
  15. want to write to a file from a fortran program that a C program
  16. can read later - ie, without the fortran control words inside)
  17. i know that the Cray has the .assign statement, that on a VAX
  18. one can use RECORDTYPE=STREAM in an OPEN statement, but i don't
  19. see how to do it on a convex. i realize that one can write a C
  20. program to do it, but i can't manage to find the right manual
  21. that gives me the rules for calling C from FORTRAN (77).
  22. (the reasons for needing a stream data file are rather
  23. drawn out, but for the task at hand, it seems to be best)
  24. any suggestions or references would be of help.  you can reply
  25. to me here or through email. thanks
  26.  
  27.