Top-level C function declaration

If you use the FUNCTEST macro provided in the prototype hlprodsp.c file, your top-level function must use the following syntax:

Syntax

long function-name ( arcg, argv )
  int   argc;
  char *argv[];

The length and content of the function name must follow the conventions that your C compiler and linker require. The argc and argv parameters follow the rules defined for argc and argv passed by the standard main() C function. If your top-level function must use a different interface, either write alternative dispatch code for it or rewrite FUNCTEST to meet your particular needs.

For more information on the FUNCTEST macro, see Map routine identifiers using PRODSP().