[Info-vax] C99 updates to CRTL

Stephen Hoffman seaohveh at hoffmanlabs.invalid
Wed Jul 31 18:35:13 EDT 2019


On 2019-07-31 18:39:53 +0000, John Reagan said:

> On Wednesday, July 31, 2019 at 8:29:33 AM UTC-4, John E. Malmberg wrote:
>> Can some documentation be provided on how a user could create a custom> 
>> variant?
>> 
> Custom variant of what?

A custom variant of the C RTL.  The standard C RTL on OpenVMS is a bit 
of a mess to use, bluntly.  Which means we've been replacing routines, 
and wrapping routines.

BTW: JM, I have some open-source code that parses an OpenVMS Alpha or 
OpenVMS I64 RTL and extracts its entry points, and then creates a stub 
shareable image.  If that'll be helpful.

> ...
>> Right now, to implement getpassword(), ncurses, select(), and poll(), I 
>> have to assign a channel to terminals and pipes, and wrap all the CRTL 
>> calls that reference those devices.

This gets back to that 
drag-the-old-C-library-forward-or-just-replace-it discussion.  select() 
has been a mess for a ~quarter century.



-- 
Pure Personal Opinion | HoffmanLabs LLC 




More information about the Info-vax mailing list