INFORMIX
DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home Contents Index Master Index New Book

mi_routine_get()

The mi_routine_get() function looks up a user-defined routine by signature and fetches its function descriptor.

Syntax

Usage

The mi_routine_get() function returns NULL if either of the following errors occurs:

Other internal errors raise an exception.

Return Values

A handle to the matching routine, or NULL if no matching user-defined routine is found or if the user-defined routine has multiple return values.

Example

The following example fetches the function descriptor for the function myfunc():

The following code fragment illustrates how to determine whether a NULL return value indicates no matching routine or multiple return values:

Related Topics

For additional information, see the description of the mi_routine_get_by_typeid() function.




DataBlade API Programmer's Manual, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.