home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sunquest!spades.aces.com!gavron
- From: gavron@spades.aces.com (Ehud Gavron 602-570-2000 x. 2546)
- Newsgroups: comp.os.vms
- Subject: Re: VAX c
- Message-ID: <25DEC199221083299@spades.aces.com>
- Date: 26 Dec 92 04:08:00 GMT
- References: <24DEC199220084219@spades.aces.com> <Bzt6EF.Est@dale.cts.com>
- Sender: news@sunquest.UUCP
- Reply-To: gavron@ACES.COM
- Organization: ACES Consulting Inc.
- Lines: 34
- News-Software: VAX/VMS VNEWS 1.4-b1
-
- In article <Bzt6EF.Est@dale.cts.com>, glippert@dale.cts.com (George Lippert) writes...
- #Ehud Gavron 602-570-2000 x. 2546 (gavron@spades.aces.com) wrote:
- #> In article <1992Dec24.173709.16437@mailer.cc.fsu.edu>, cliff@evax9.eng.fsu.edu writes...
- #> >Is there a way to get VAX C to flush the VMS file buffers?
- #>
- #> fflush(stream)
- #
- #Not according to DEC Support. After trying this, and having it clearly not
- #work, DEC Support confirmed that fflush() only flushes to the RMS buffers -
- #NOT to the actual device.
- #
- #So how do I make sure that the buffer gets onto disk? (in my case), I asked.
- #They told me that there is an "unsupported and undocumented" function that I
- #could call. Thanks, but no thanks, I said.
-
- I didn't realize I'd have to hold your hand through this. You
- wanted it out of VAX C, I showed you how. Now you want it out
- of RMS and you won't even look up SYS$FLUSH. Shame on you.
-
- #--
- #George A. Lippert work: glippert@dale.cts.com
- #Titan Satellite Systems home: zucchini!glippert@dale.cts.com (NeXTmail ok)
- #San Diego, CA
- #------------------------------------------------------------------------------
-
- P.S. If you can't figure out how to go from a stream ID (FILE *) to
- a FAB, please play with the listings just a tad more.
-
- Ehud
-
- --
- Ehud Gavron (EG76)
- gavron@vesta.sunquest.com
- Yow! I just went below the poverty line!
-