Home | Previous Page | Next Page   Function Descriptions >

mi_fp_setnrets( )

The mi_fp_setnrets( ) accessor function sets the number of return values for the user-defined function in its associated MI_FPARAM structure.

Syntax

void mi_fp_setnrets(fparam_ptr, ret_num)
   MI_FPARAM *fparam_ptr;
   mi_integer ret_num;
fparam_ptr
is a pointer to the associated MI_FPARAM structure.
ret_num
is the integer number of return values to store in the MI_FPARAM structure.
Valid in Client LIBMI Application? Valid in User-Defined Routine?
Yes Yes

Usage

The mi_fp_setnrets( ) function sets the number of return values for a C UDR associated with the MI_FPARAM structure that fparam_ptr references to the value in ret_num.

Important:
C user-defined functions have only one return value.

Return Values

None.

Related Topics

See also the descriptions of mi_fp_nrets( ), mi_fp_setnargs( ), mi_fp_setreturnisnull( ), mi_fp_setretlen( ), mi_fp_setretprec( ), mi_fp_setretscale( ), and mi_fp_setrettype( ).

For more information about return-value information in an MI_FPARAM structure, see the IBM Informix: DataBlade API Programmer's Guide.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]