Invoking callable services from C
In C, invoke a Language Environment callable service (with feedback code) using the following syntax:
Figure 1. Sample invocation
of a callable service from C
#include <leawi.h>
main ()
{
CEESERV(parm1, parm2, ... parmn, fc);
}
leawi.h is a header file shipped with Language Environment that contains declarations of Language Environment callable services and OMIT_FC, which is used to explicitly omit the feedback code parameter.
Figure 2. Omitting the
feedback code when calling a service from C
#include <leawi.h>
main ()
{
CEESERV(parm1, parm2, ... parmn, OMIT_FC);
}