home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!agate!ucbvax!BARRA.COM!louis
- From: louis@BARRA.COM (Louis Dunne)
- Newsgroups: comp.os.vms
- Subject: Re: VAX c
- Message-ID: <9212290122.AA05517@hermann.barra.COM>
- Date: 29 Dec 92 01:22:58 GMT
- Sender: usenet@ucbvax.BERKELEY.EDU
- Organization: BARRA Inc., Berkeley, California.
- Lines: 36
-
- On Dec 26, 7:35am, Carl J Lydick wrote:
- > Subject: Re: VAX c
- >In article <25DEC199221083299@spades.aces.com>, gavron@spades.aces.com (Ehud Gavron 602-570-2000 x. 2546) writes:
- >>#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.
- >
- >=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.
- >
- >Actually, you don't have to go all the way to the FAB, just to the RAB. And
- >the "unsupported and undocumented" function that DEC support was talking about
- >was almost certainly the one that returns the RAB associated with a file
- >descriptor.
-
- 1. Does anyone know the function (undocumented or not) which will
- return a RAB associated with a stream-id.
-
- 2. The "unsupported and undocumented" function that DEC support
- talked about was probably fsync(), which will force RMS to
- flush it's buffers, for a given file *number*.
-
- Louis
- -------------------------------------------------------------------------
- / Louis Dunne / /
- / VMS/UNIX Systems / Internet: louis@barra.com /
- / / Phone: +1 510 649-4229 /
- / BARRA, Inc. / Fax: +1 510 548-4374 /
- / 1995 University Ave., Suite 400 / /
- / Berkeley, CA 94704 / /
- -------------------------------------------------------------------------
-
-