From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!pasteur!ucbvax!BGUVM.BITNET!GDAU100 From: GDAU100@BGUVM.BITNET ("Jonathan B. Owen") Newsgroups: comp.lang.ada Subject: Combined Unix/Ada question - forcing write to disk Message-ID: <8811262041.AA08663@ajpo.sei.cmu.edu> Date: 26 Nov 88 20:42:59 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet X-Unparsable-Date: Sat, 26 Nov 88 22:30:55 IST List-Id: Hello Group. I assume many of you work on Unix based targets. Well, here's a question you might be able to answer. I make updates to a file via DIRECT_IO. At some point I must be sure that the updates were physically written to disk. I have sent a query to the Apollo list (since I work on one). It was suggested that I use some Unix services like fsync, flush and sio$force_write. Well, I tried using fsync but it didn't work. I passed to it the DIRECT_IO.File_type of the file, after converting it to File_ptr. Note that File_type of DIRECT_IO is defined as "new File_ptr". I have not managed to interace to the other services mentioned. Can you help me out? Thank you, JB P.S. I would very much appreciate if you would send one or two examples of Ada programs which access the GPR and GSR graphics routines of the Apollo workstation... :-) ______________________________________________________________________________ (--) /--) /-(\ Email: gdau100@bguvm (bitnet) \ / /--K | \|/\ /\/) /|-\ Snail: 55 Hovevei Zion _/_/o /L__)_/o \/\__/ \X/ \_/ | |_/ Tel-Aviv, 63346 ISRAEL (/ Jonathan B. Owen Voice: (03) 281-422 Point of view: A chicken is the means by which an egg reproduces an egg. ______________________________________________________________________________