* Combined Unix/Ada question - forcing write to disk
@ 1988-11-26 20:42 "Jonathan B. Owen"
0 siblings, 0 replies; only message in thread
From: "Jonathan B. Owen" @ 1988-11-26 20:42 UTC (permalink / 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.
______________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1988-11-26 20:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1988-11-26 20:42 Combined Unix/Ada question - forcing write to disk "Jonathan B. Owen"
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox