home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!elroy.jpl.nasa.gov!news.claremont.edu!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
- From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
- Newsgroups: comp.os.vms
- Subject: Re: VAX c
- Date: 26 Dec 1992 07:32:26 GMT
- Organization: HST Wide Field/Planetary Camera
- Lines: 25
- Distribution: world
- Message-ID: <1hh1qaINNfjb@gap.caltech.edu>
- References: <1992Dec24.173709.16437@mailer.cc.fsu.edu>,<24DEC199220084219@spades.aces.com>
- Reply-To: carl@SOL1.GPS.CALTECH.EDU
- NNTP-Posting-Host: sol1.gps.caltech.edu
-
- In article <24DEC199220084219@spades.aces.com>, gavron@spades.aces.com (Ehud Gavron 602-570-2000 x. 2546) writes:
- =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?
- =#
- =#I've got a program that reads data in for the tta2: port and then writes it to
- =#a file. The problem is that the data doesn't get written to the file until the
- =#buffer is full, and that may not happen but once every day or two.
- =
- = fflush(stream)
- =
- = example:
- = fflush(stdout);
-
- Sorry, Ehud, but this doesn't do what Cliff wants. It merely flushes the C I/O
- RTL buffers, handing the stuff to RMS. Unfortunately, it doesn't also cause
- RMS to issue a $FLUSH, at least not under VMS v5.4-2.
- --------------------------------------------------------------------------------
- Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
-
- Disclaimer: Hey, I understand VAXen and VMS. That's what I get paid for. My
- understanding of astronomy is purely at the amateur level (or below). So
- unless what I'm saying is directly related to VAX/VMS, don't hold me or my
- organization responsible for it. If it IS related to VAX/VMS, you can try to
- hold me responsible for it, but my organization had nothing to do with it.
-