Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Header files for definitions for utility routines and system services

 
SOLVED
Go to solution
Highlighted
John Gillings
Honored Contributor

Re: Header files for definitions for utility routines and system services

Malleka,

>It just happens to be a multi-platform
>application and the code may have to be
>maintained by someone who has not worked
>with OpenVMS.
>It will be much easier if they had only
>C modules to look at.

I'm not sure I understand this. LBR$ routines are OpenVMS specific. Anyone working on that section of the code (must be #ifdef'ed for OpenVMS only?) will need to know some OpenVMS basics.

If you want C modules, it's a fairly trivial matter to transform $LBRDEF into a .h file. It's not much more than extracting the MACRO:

$ LIBRARY/EXTRACT=$LBRDEF/OUT=file SYS$SHARE:STARLET/MACRO

stripping off the top and bottom lines, then substituting "#define" for "$EQU". Someone may even be clever enough to figure out a way to do it directly with the C preprocessor.
A crucible of informative mistakes