home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / vms / 19886 < prev    next >
Encoding:
Internet Message Format  |  1992-12-26  |  1.8 KB

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