A function prototype consists of the function return type, the name of the function, and the parameter list. An un-prototyped function has its signature inferred by the data model in effect at the time of its first reference.
When calling a program dynamically from a C++ program using extern
OS linkage, prototype the program to return void rather
than int. Extra processing is involved in accessing the
return value of a program call. Passing the address of storage that can
hold a return value in the call's argument list is better from a
performance viewpoint.
For information about function prototypes, see WebSphere Development Studio: ILE C/C++ Language Reference.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.