🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.fortran
Article #4504

Re: Help with UNIX f77 file buffer system

#4504
From: Ken Bell
Date: Tue, 26 Jan 1993 05:15
12 lines
947 bytes
In <1993Jan25.091937.5738@doug.cae.wisc.edu> dafnioti@cae.wisc.edu (Petros Dafniotis) writes:

>no info in the output files. I am guessing that the UNIX file buffer system
>still keeps these numbers in the buffer and what he needs is to flush the
>buffers after each single write. Could someone tell me how can this be
>accomplished in UNIX? (he is using HP-RISC and SUN SPARC-I workstations)."

Why not catch SIGINT (see signal(3C)) and simply close() all files
before exiting?

-- 
Ken Bell  (kenbell@panix.com  -or-  syklb@nasagiss.giss.nasa.gov)
Technical Details
Message-ID: <C1G3yE.B2o@panix.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!howland.reston.ans.net!news.ans.net!cmcl2!panix!kenbell
References: <1993Jan25.091937.5738@doug.cae.wisc.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.fortran
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!howland.reston.ans.net!news.ans.net!cmcl2!panix!kenbell
From: kenbell@panix.com (Ken Bell)
Subject: Re: Help with UNIX f77 file buffer system
Message-ID: <C1G3yE.B2o@panix.com>
Organization: PANIX Public Access Unix, NYC
References: <1993Jan25.091937.5738@doug.cae.wisc.edu>
Date: Tue, 26 Jan 1993 05:15:50 GMT
Lines: 13