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

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!agate!ucbvax!BARRA.COM!louis
  2. From: louis@BARRA.COM (Louis Dunne)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: VAX c
  5. Message-ID: <9212290122.AA05517@hermann.barra.COM>
  6. Date: 29 Dec 92 01:22:58 GMT
  7. Sender: usenet@ucbvax.BERKELEY.EDU
  8. Organization: BARRA Inc., Berkeley, California.
  9. Lines: 36
  10.  
  11. On Dec 26,  7:35am, Carl J Lydick wrote:
  12. > Subject: Re: VAX c
  13. >In article <25DEC199221083299@spades.aces.com>, gavron@spades.aces.com (Ehud Gavron 602-570-2000 x. 2546) writes:
  14. >>#So how do I make sure that the buffer gets onto disk? (in my case), I asked.
  15. >=#They told me that there is an "unsupported and undocumented" function that I
  16. >=#could call.  Thanks, but no thanks, I said.
  17. >=
  18. >=I didn't realize I'd have to hold your hand through this.  You
  19. >=wanted it out of VAX C, I showed you how.  Now you want it out
  20. >=of RMS and you won't even look up SYS$FLUSH.  Shame on you.
  21. >
  22. >=P.S. If you can't figure out how to go from a stream ID (FILE *) to
  23. >=     a FAB, please play with the listings just a tad more.
  24. >
  25. >Actually, you don't have to go all the way to the FAB, just to the RAB.  And
  26. >the "unsupported and undocumented" function that DEC support was talking about
  27. >was almost certainly the one that returns the RAB associated with a file
  28. >descriptor.
  29.  
  30.     1.    Does anyone know the function (undocumented or not) which will
  31.         return a RAB associated with a stream-id.
  32.  
  33.     2.    The "unsupported and undocumented" function that DEC support
  34.         talked about was probably fsync(), which will force RMS to
  35.         flush it's buffers, for a given file *number*.
  36.  
  37. Louis
  38.        -------------------------------------------------------------------------
  39.       / Louis Dunne                          /                                /
  40.      /  VMS/UNIX Systems                    /  Internet:   louis@barra.com   /
  41.     /                                      /   Phone:      +1 510 649-4229  / 
  42.    /    BARRA, Inc.                       /    Fax:        +1 510 548-4374 /
  43.   /     1995 University Ave., Suite 400  /                                /
  44.  /      Berkeley, CA 94704              /                                /
  45. -------------------------------------------------------------------------
  46.  
  47.