HP OpenVMS Systemsask the wizard |
The Question is: I'm trying to use the sys$set_devicew call in a C program, but I get the error that says it's "implicitely declared as a function". Apparently, it's in an #include file that I don't have included in my program, but I can't locate any include file that do es have sys$set_devicew in it. Can you tell me what I need to #include to be able to use sys$set_devicew? The Answer is : Examples of common OpenVMS header files in C include the following: starlet.h lib$routines.h str$routines.h smg$routines.h In the case of C, look in starlet.h for the system service (sys$) declarations. If requested during the C compiler installation, searchable copies of the C headers are loaded into SYS$SYSROOT:[DECC$LIB...]*.H You should follow the reinstallation or the system symbol extraction documentation that is provided by the various compilers after an OpenVMS upgrade -- this to extract the latest system definitions. In the specific case of the C compiler, the documented procedure for extracting the latest OpenVMS system declarations is the upgrade of or the reinstallation of a C compiler kit.
|