[Info-vax] how to include ioc_routines.h?
Stephen Hoffman
seaohveh at hoffmanlabs.invalid
Thu Jan 21 11:11:03 EST 2016
On 2016-01-21 15:38:12 +0000, Joukj said:
> $cc test.c
>
> #include <ioc_routines.h>
> .^
> %CC-F-NOINCLFILEF, Cannot find file <ioc_routines.h> specified in
> #include directive. at line number 1 in file $DISK7:[joukj.TEST]test.c;1
Append +sys$library:sys$lib_c.tlb/library onto the compilation. For example:
$ cc test+sys$library:sys$lib_c.tlb/library
Related reading on OpenVMS and C, and using SYS$LIB_C.TLB and friends,
or other VMS-isms of interest to C programmers on OpenVMS:
http://labs.hoffmanlabs.com/node/273
That has links to examples, too.
--
Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list