[Info-vax] CRTL and RMS vs SSIO
Craig A. Berry
craigberry at nospam.mac.com
Thu Oct 7 19:15:19 EDT 2021
On 10/7/21 1:30 PM, Stephen Hoffman wrote:
> On 2021-10-07 17:16:03 +0000, Dave Froble said:
>> I don't use C, so I don't know much about it. But isn't this
>> capability already available?
>
> The C standard functions—the equivalent of the BASIC calls OPEN, READ,
> WRITE, et al—are via RMS. There's no knob to tell C "don't do that".
You're pretending that you don't know about the foo="bar" options on the
CRTL open/fopen/creat calls. Yes, it's all via RMS, but you can tell it
to do or not do certain things. And the feature logicals, of course, but
it might be dinnertime in your time zone and I wouldn't want to give you
indigestion :-).
But from BASIC, yes, I think you have to write wrappers around the CRTL
functions and then call them from BASIC, or at least that's what I did
the one time I had to write stream files from BASIC.
More information about the Info-vax
mailing list