The mi_fp_setnargs() function

The mi_fp_setnargs() accessor function sets the number of arguments for the user-defined routine in its associated MI_FPARAM structure.

Syntax

void mi_fp_setnargs(fparam_ptr, arg_num)
   MI_FPARAM *fparam_ptr;
   mi_integer arg_num;
fparam_ptr
A pointer to the associated MI_FPARAM structure.
arg_num
The integer number of arguments for which the MI_FPARAM structure holds information.
Valid in client LIBMI application? Valid in user-defined routine?
Yes Yes

Usage

The mi_fp_setnargs() function sets the number of arguments for the C UDR associated with the MI_FPARAM structure that fparam_ptr references to the value in arg_num.

For more information about argument information in an MI_FPARAM structure, see the Informix® DataBlade® API Programmer's Guide.

Return values

None.