home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / fortran / 5182 < prev    next >
Encoding:
Text File  |  1993-01-26  |  926 b   |  24 lines

  1. Newsgroups: comp.lang.fortran
  2. Path: sparky!uunet!usc!howland.reston.ans.net!news.ans.net!cmcl2!panix!kenbell
  3. From: kenbell@panix.com (Ken Bell)
  4. Subject: Re: Help with UNIX f77 file buffer system
  5. Message-ID: <C1G3yE.B2o@panix.com>
  6. Organization: PANIX Public Access Unix, NYC
  7. References: <1993Jan25.091937.5738@doug.cae.wisc.edu>
  8. Date: Tue, 26 Jan 1993 05:15:50 GMT
  9. Lines: 13
  10.  
  11. In <1993Jan25.091937.5738@doug.cae.wisc.edu> dafnioti@cae.wisc.edu (Petros Dafniotis) writes:
  12.  
  13. >no info in the output files. I am guessing that the UNIX file buffer system
  14. >still keeps these numbers in the buffer and what he needs is to flush the
  15. >buffers after each single write. Could someone tell me how can this be
  16. >accomplished in UNIX? (he is using HP-RISC and SUN SPARC-I workstations)."
  17.  
  18. Why not catch SIGINT (see signal(3C)) and simply close() all files
  19. before exiting?
  20.  
  21. -- 
  22. Ken Bell  (kenbell@panix.com  -or-  syklb@nasagiss.giss.nasa.gov)
  23.  
  24.