The header files to include in your application programs are located in the directories listed below. These files define the prototypes for system calls, data types shown here, and mnemonics for condition codes.
Compiler TypeDirectory
C/intel/include
PL/M 32-bit/rmx386/inc
PL/M 16-bit/rmx386/inc16
Most references to system calls use C syntax instead of PL/M (for example, the system call rq_send_message instead of rq$send$message). The header file you include determines whether system calls and data types are defined with an underscore (_) as shown here. In PL/M, use dollar signs ($) in system calls and condition code mnemonics.
The table below lists the general include files and files that are specific to layers of the OS. The general include files include most of the layer-specific files, so you don't have to specifically include all these files in your application.
| General Include Files | C, Underscores | C, No Underscores | PL/M |
| Most layers | rmx_c.h | rmxc.h | rmxplm.ext
rmxplm.lit |
| Condition codes | rmx_err.h | rmxerr.h | error.lit |
| Layer-Specific Files | C, Underscores | C, No Underscores | PL/M |
| OS data types, constants | common.h | common.h | common.lit |
| Application Loader | loader.ext | ||
| BIOS | bios.ext | ||
| EIOS | eios.ext | ||
| Human Interface | hi.ext | ||
| Nucleus | nucleus.h | nucleus.h | nuclus.ext |
| Kernel 1 | rmk.h | rmk_base.ext
rmk_base.lit |
|
| UDI 1 | udi_c.h | udi.h | udi.ext |
| iNA 960 cq_ calls 1 | cqcomm.h
cq*.h |
cqcomm.h | cqcomm.ext 2
cq*.lit 2 |
Notes:
1Most layer-specific files are already included in the general include files, but you must specifically include these files.
2These PL/M files are for 16-bit applications only; they are in the /rmx386/inc16 directory but not in /rmx386/inc.
The directories listed above contain other include files for specific purposes. The include files for C Library functions are in the /intel/include directory.
See also:Header files, C Library Reference