ContentsIndexPreviousNext

C.3 Interface Method

Every ACUCOBOL-GT compiler comes with a sample C subroutine interface. This consists of three files: "sub.c", "sub85.c", and "sub.h". The "sub.c" file implements the "sub" interface. The "sub85.c" implements the "sub85" interface. The "sub.h" file contains some useful definitions, particularly if you are using the "sub85" interface. These files contain extensive comments on how they are used. They also contain the source to the "SYSTEM" library routine. You can use these files as the starting point for your code.

The two interfaces are described in the following sections.

More:

C.3.1 The "SUB" Interface

C.3.2 The "SUB85" Interface