comp.lang.ada
 help / color / mirror / Atom feed
From: GDAU100@BGUVM.BITNET ("Jonathan B. Owen")
Subject: Combined Unix/Ada question - forcing write to disk
Date: 26 Nov 88 20:42:59 GMT	[thread overview]
Message-ID: <8811262041.AA08663@ajpo.sei.cmu.edu> (raw)

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.
______________________________________________________________________________

                 reply	other threads:[~1988-11-26 20:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox