[Info-vax] Looking into C-include files on VMS

Steven Schweda sms.antinode at gmail.com
Tue Oct 27 23:08:07 EDT 2009


>       http://antinode.info/ftp/misc/cheader.com
> [...]

   And, when the header files have been extracted, I find it
handy to define a logical name to locate them.  I use this:

      define /system decc_include -
       SYS$COMMON:[DECC$LIB.REFERENCE.DECC$RTLDEF], -
       SYS$COMMON:[DECC$LIB.REFERENCE.SYS$STARLET_C]

For a non-privileged user, omit /SYSTEM.  Then it's pretty
easy to search through the things.  For example:

ALP $ search decc_include:*.h __USING_STD_STAT

******************************
SYS$COMMON:[DECC$LIB.REFERENCE.DECC$RTLDEF]DECC$TYPES.H;11

#   define __USING_STD_STAT 1
#if !__USING_STD_STAT
#if !__USING_STD_STAT

******************************
SYS$COMMON:[DECC$LIB.REFERENCE.DECC$RTLDEF]STAT.H;11

#if __USING_STD_STAT
#if __USING_STD_STAT
#else /* end of __USING_STD_STAT section */
#endif /* __USING_STD_STAT */
#if __USING_STD_STAT
#endif /* __USING_STD_STAT */
#if __USING_STD_STAT



More information about the Info-vax mailing list